docs(pixel): Game Page integration guide, CSP docs, and CDN validation#2847
Open
docs(pixel): Game Page integration guide, CSP docs, and CDN validation#2847
Conversation
|
View your CI Pipeline Execution ↗ for commit 5f15b4b
☁️ Nx Cloud last updated this comment at |
✅ Pixel Bundle Size — @imtbl/pixel
Budget: 10.00 KB gzipped (warn at 8.00 KB) |
Provide a complete README for the tracking pixel covering the Game Page snippet, consent modes, auto-tracked events, cookie reference, CSP directives, and a browser compatibility validation checklist. Also adds a shell script to verify the CDN bundle is deployed and within the 10KB gzip budget. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e38a12c to
ceeded5
Compare
The identify() method is being removed from the pixel (PR #2846). Update the README to remove the Identity section and adjust the full consent description to reflect that identity signals come only from form submission auto-capture. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…EADME Keep the README generic for all integrators. Game Page-specific details and the validation checklist are tracked separately. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nattb8
reviewed
Apr 10, 2026
| </script> | ||
| ``` | ||
|
|
||
| Replace `YOUR_PUBLISHABLE_KEY` with your project's publishable key. |
Contributor
There was a problem hiding this comment.
Mention that you need to get it from Hub?
nattb8
reviewed
Apr 10, 2026
|
|
||
| The script loads asynchronously and does not block page rendering. The default consent level is `none` — the pixel loads but does not collect until consent is explicitly set (see [Consent Modes](#consent-modes)). To start collecting anonymous device signals immediately, add `"consent":"anonymous"` to the init object. | ||
|
|
||
| ## Consent Modes |
Contributor
There was a problem hiding this comment.
Need to include who we try to auto detect consent? and what to do if it fails?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
README.mdfor the@imtbl/pixelpackage covering quick-start snippet, consent modes, auto-tracked events, cookie reference, CSP directives (with nonce-based example), browser support matrix, and the Game Page-specific integration snippet withconsent: 'anonymous'scripts/validate-cdn.shscript that verifies the live CDN bundle (HTTP 200, correct content-type, gzip size under 10KB budget, expected content markers)Related tickets
Test plan
validate-cdn.shpasses against livehttps://cdn.immutable.com/pixel/v1/imtbl.js(5.3KB gzipped, all markers present)api.immutable.com)🤖 Generated with Claude Code