Pixel tracking server

PubPixel is a streamlined pixel tracking application that serves a 1x1 transparent pixel and records hits and URLs to a SQLite database.

PubPixel has two parts:

  • A Python web application built with Django to generate the tracking pixel and store the analytics.
  • A companion WordPress plugin that adds the pixel, along with article content, to a popup form for republishers.

Usage

Include the tracking pixel in your HTML, which will be copied with the article content when the article is republished:

<img src="[YOUR_DOMAIN]/pixel.png" width="1" height="1" style="display:none;" />

The WordPress plugin will add query parameters for tracking the article name and URL, which will look something like this:

<img src="/pixel.png?articleName=My%20Headline&articlePath=my-headline" width="1" height="1" style="display:none;" />

Links