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
POSTper 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
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
Fields on every event
Some events add fields:
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.
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
#fragmentis removed, unless you setdata-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 ofutm_source,utm_medium,utm_campaign,utm_termandutm_content. Those are redacted too when they look sensitive. Parameter names are kept. data-scrub-paramsnamesutm_*parameters to redact as well.data-drop-query="true"removes the whole query string.- The
checkpoint_handoffparameter is always removed.
What it stores in the browser
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
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_sessionand_as_beacon_session_metaare still written. - The identity cookies
checkpoint_userandagentshield_userare 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.titleand 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
anonymizeIpset, 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.