What the Pixel sends

Every field the Pixel sends, when it sends it, what it stores in the browser, and what it never collects

This page is for the person reviewing the Pixel before it goes on a site: a security, privacy or compliance reviewer. It lists every field the Pixel sends, when, what it keeps in the browser, and which options change that. To install the Pixel, see Pixel.

It describes Pixel version 1.3.1. Checkpoint.getInitInfo().version reports the version running on a page.

In short

  • The Pixel sends one JSON POST per page view and per call your page makes to it. It sends nothing on a schedule and nothing in the background.
  • Each request carries the page address (redacted), the page title, browser and screen facts, a session ID, and counts of how the visitor interacted.
  • It never reads form fields, page text, location, camera, microphone or the clipboard. It never sends what was typed or where the pointer was.
  • A visitor who sends Do Not Track gets no cookie and sends nothing, unless you turn that off. One record stays in the tab's session storage.
  • The stored IP address is cut to a prefix by default.

Where it sends

RequestDestinationWhen
The eventPOST <script origin>/api/v1/pixelEvery event below. data-api-endpoint changes the address.
The same event, a second timeThe same address, with X-Edge-* headersOnly when the first answer asks for full detection. The body adds edgeRedirect: true and the serverRequestId from that answer.
The detector scriptGET <script origin>/checkpoint-detector.jsOnce per page load, unless data-enable-fingerprinting="false".
A handoff tokenPOST <the event address>/handoffOnly when your page calls handoffUrl(). The body holds the project ID, the session ID, the nonce, the device ID and the user hash.

The script origin is the origin the Pixel's own <script> tag loads from. The Pixel's code sends requests to no other host. The detector's WebRTC check is the one place another host is named: see What the detector adds.

When it sends

EventSent when
pageviewThe page loads, after the detector script has loaded and run. Each of its checks is given up to 2 seconds.
pageviewThe address changes without a page load (pushState, replaceState, popstate, hashchange).
Your nameYour page calls track(eventName, data). Everything in data is sent as you passed it.
identifyYour page calls identify(userId, traits), at most once per second.
identifyYour page calls grantConsent() after an event already left without a device ID.
logoutYour page calls reset() while a user is identified.

Fields on every event

FieldWhat it holds
eventTypepageview, identify, logout, or the name you passed to track().
pixelIdYour project ID.
urlThe page address, after redaction.
referrerThe referring address, after the same redaction.
titledocument.title, exactly as the page sets it. It is not redacted.
timestampThe time of the event, in ISO 8601.
timeOnPageMilliseconds since the page loaded or last changed address.
sessionIdThe session ID. See What it stores.
deviceIdThe device ID from the identity cookie. Absent when the cookie is absent or not allowed.
userIdThe ID your page passed to identify(). Absent until then.
userAgent, language, platformnavigator.userAgent, navigator.language, navigator.platform.
screenResolution, viewportScreen and window size, as width x height.
timezone, timezoneOffsetThe time zone name and its offset in minutes.
cookiesEnabled, onLinenavigator.cookieEnabled and navigator.onLine.
pageLoadTime, domContentLoadedTimePage timing, when the browser exposes it.
connectionType, connectionSpeedNetwork type and downlink, when the browser exposes them.
anonymizeIptrue unless you set data-anonymize-ip="false". It tells the server how to store the IP.
nonce, nonceEchoThe value the server returned on this session's last answer, sent back so the server can check it.
clientDetectionThe detector's result. See What the detector adds.

Some events add fields:

EventExtra fields
pageview after an address changepreviousUrl (redacted like url) and navigationType: "spa".
identifyuserTraits: the traits object your page passed, sent as is. The Pixel does not store it in the browser.
logoutpreviousUserId.
track()Every key in the data object you passed.
The first event after a handoff linkhandoffToken, taken from the checkpoint_handoff address parameter.

The Pixel sends what your page hands it. identify() traits, track() data and the page title are not redacted. Do not pass or display anything there that you do not want collected.

The browser itself adds what every web request carries: the visitor's IP address and the standard request headers. The Pixel's code sets Content-Type, the X-Edge-* headers on the second request above, and a signed KYA-Posture-Proof header on a handoff request when the Beacon has stored a key.

What the detector adds

Unless you set data-enable-fingerprinting="false", the Pixel loads a detector script once per page load and attaches its result to each event as clientDetection.

GroupFields
Automation checkswebdriver, headless, automation (the name of an automation marker found on the page, or null), plugins (a count), webrtc (one status word), chrome.
Browserlanguages, hardwareConcurrency, deviceMemory, maxTouchPoints, hasTouch, platform, vendor, doNotTrack, cookieEnabled, localStorage, sessionStorage.
ScreenscreenResolution, colorDepth, pixelRatio.
Time zonetimezone, timezoneOffset.
Browser branduserAgentData: brands (brand names), mobile, platform, and when the browser allows it architecture, bitness, model, platformVersion.
Networkconnection: effectiveType, rtt, downlink, saveData.
Performanceperformance: the navigation type, and JavaScript heap sizes when the browser exposes them.
InteractionCounts only: mouse moves, key events, scrolls, clicks, touches, untrusted events, and timing and pointer-path counters. hasInteraction is true or false.
BookkeepingcollectionTime, timestamp.

The interaction fields are counters. No key, no pointer position and no time of an individual event leaves the page.

The detector does not draw to a canvas, and does not read WebGL, audio or installed fonts.

For the webrtc check, the detector creates a WebRTC connection object, asks it for an offer and closes it. It reports only one word: available, timeout, error or not-supported, and reads no address from the connection. The connection is configured with Google's public STUN server (stun.l.google.com). The detector never sets the offer on the connection, which is the step that starts address gathering.

How addresses are redacted

url, referrer and previousUrl are redacted in the browser, before they are sent.

  • A user name and password in the address are removed.
  • The #fragment is removed, unless you set data-strip-fragment="false".
  • A path segment is replaced with [redacted] when it looks sensitive: an email address, a phone number, a long hex string, a long mixed token, a JWT, or anything over 256 characters.
  • Every query value is replaced with [redacted], except the values of utm_source, utm_medium, utm_campaign, utm_term and utm_content. Those are redacted too when they look sensitive. Parameter names are kept.
  • data-scrub-params names utm_* parameters to redact as well.
  • data-drop-query="true" removes the whole query string.
  • The checkpoint_handoff parameter is always removed.

What it stores in the browser

WhereNameHoldsLifetime
Cookiecheckpoint_user, and agentshield_user with the same valueThe device ID. After identify(): also the user ID, the session ID and two timestamps.365 days.
Cookie_as_beacon_sessionThe session ID.Ends after 1 hour idle on phones, 6 hours elsewhere.
Cookie_as_beacon_session_metaTwo short hashes: one of the campaign parameters, one of the user ID.The same as the session cookie.
Session storagecheckpoint_session_<project ID>, and agentshield_session_<project ID>The session ID, its start time, a last-activity time and the user ID.Until the tab closes.
Session storagecheckpoint_recent_detection, and agentshield_recent_detectionThe last answer: isAgent, isBot, confidence and a time.Until the tab closes.
Session storagecheckpoint_lock_<project ID>A short-lived lock, taken while the Pixel updates its session record and during reset().Until the tab closes.
Local storageas_beacon_nonce_<project ID>_<session ID>The nonce the server returned.Until reset() or a consent withdrawal removes it.

The two identity cookies are set on the site's base domain (for example .example.com), with SameSite=Lax, and Secure on an HTTPS page. The session cookies are set on the page's own host with SameSite=Lax.

The agentshield_* names are older names, written beside the current ones so an older cached copy of the script reads the same values.

The session record in session storage is written as soon as the script loads, whatever the consent state. That includes a Do Not Track visitor. It stays in the tab and is sent nowhere while collection is stopped.

The Pixel also reads, and never writes, the Beacon's signing key from IndexedDB (checkpoint-beacon-dpop) when your page calls handoffUrl() and the Beacon has stored one.

Options that change what is sent

OptionDefaultEffect on what is sent or stored
data-respect-dnttrueA Do Not Track visitor sends no event and gets no cookie. "false" ignores the signal.
data-require-consentfalse"true" holds the device ID and the identity cookie until grantConsent(). See below.
data-enable-fingerprintingtrue"false" stops the detector from loading, so no event carries clientDetection.
data-anonymize-iptrueSends anonymizeIp. "false" has the server store the full IP address.
data-strip-fragmenttrue"false" keeps the #fragment in addresses.
data-scrub-paramsnoneNames utm_* parameters to redact too.
data-drop-queryfalse"true" removes the whole query string from addresses.
data-api-endpointnoneChanges where events are sent.
data-session-timeoutnoneChanges how long an idle session lasts.
data-debugfalse"true" logs to the browser console, including the data being sent. It changes nothing that is sent.

What stops collection

Do Not Track. With the default data-respect-dnt, a visitor whose browser sends Do Not Track sends no event. The Pixel writes no cookie, expires any identity and session cookies it wrote before, and removes its stored nonces. It still keeps its session record in the tab's session storage.

Shopify consent. On a Shopify storefront the Pixel waits for Shopify's Customer Privacy API to report that analytics is allowed. Until then it sends nothing, writes no cookie and does not load the detector. See Pixel.

data-require-consent="true". This option holds less than its name suggests. Before grantConsent():

  • Events are still sent, without a deviceId.
  • The session cookies _as_beacon_session and _as_beacon_session_meta are still written.
  • The identity cookies checkpoint_user and agentshield_user are not written.

To send nothing and store nothing before consent, do not load the Pixel's script until you have it. That also holds for the session record in session storage.

What it never collects

Never read. The Pixel's code and the detector's code contain no read of any of these:

  • Form fields or their values.
  • Page text or HTML, apart from document.title and the Pixel's own <script> tag, which it reads for its options.
  • The clipboard.
  • Geolocation, camera, microphone, battery, Bluetooth or USB.
  • Canvas, WebGL, audio or font fingerprints.

Read in the page, never sent. The detector looks at these to compute its counters. Only the counters leave the page:

  • Pointer positions, to measure the steps of a pointer's path.
  • Two facts about a key event: whether it is part of text composition, and whether it is a left or right modifier key. For the first it compares the key code with 229, the value browsers use during composition. It makes no other use of the key code.
  • Whether a press landed inside a dropdown, to leave that press out of the timing.
  • The page's cookie list, to find the Pixel's own cookies. No other cookie is sent.

What the server does on arrival

Three things worth knowing in a review:

  • The IP address is stored cut short by default. With anonymizeIp set, the server stores an IPv4 address with its last part zeroed (a /24) and an IPv6 address cut to a /48, and removes the full address from the network details it stores beside it. The full address is still used while the request is handled, for rate limiting, detection and a network lookup.
  • identify() traits are kept apart from detections. When the event has a user ID, they are written to that user's profile for your project. They are removed from the event before the detection record is stored.
  • The device fingerprint is stored as a keyed hash, beside the values it is made from. The key is a secret salt that belongs to your organization, so the stored hash differs from one organization to the next. The device ID and the attributes the detector reported are also stored on each detection, and those are not hashed.

This page does not list every column the server stores. For the request and response shapes, see the API reference.