Image tracking pixels

Every uncached pixel image request can create a page view using the metadata exposed by the image request.

Choose a pixel type

  1. Open the domain and choose Settings.
  2. Open Tracking pixel and choose Transparent 1px, [x online] badge, or Custom image.
  3. For a custom image, upload a PNG, JPEG, GIF, or WebP file up to 512 KB.
  4. Copy the generated HTML embed and publish it on the page you want to measure.
ModeBehavior
Transparent 1pxLoads an invisible one-pixel PNG and records the request.
[x online] badgeShows the current one-minute online visitor count in the Gumanalytics terminal style.
Custom imageServes your uploaded image while using each image load as the tracking request.

Embed a transparent pixel

<img src="https://gumanalytics.com/api/pixel/DOMAIN_ID?mode=transparent" alt="" width="1" height="1" referrerpolicy="unsafe-url" style="position:absolute;width:1px;height:1px;opacity:0" />

Pixel responses use no-store cache headers so browsers are asked to request the image again. Some email clients, proxies, and content-delivery systems can still cache or prefetch images, so pixel counts should be treated as directional.

Data available to an image request

  • The embedding page URL when the browser sends it as the request referrer.
  • UTM and ref campaign parameters present in the available page URL or pixel URL.
  • A project-scoped network-and-user-agent visitor identifier.
  • Browser user agent, inferred device and operating system, and supported edge country and city.

Related documentation