docs(pixel): Game Page integration guide, CSP docs, and CDN validation#2847
Merged
Conversation
|
View your CI Pipeline Execution ↗ for commit 202ae84
☁️ 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
nattb8
reviewed
Apr 10, 2026
- Add link to Immutable Hub for obtaining the publishable key (nattb8) - Document consentMode: 'auto' with GCM v2 and IAB TCF v2 detection, fallback behavior when no CMP is found, and manual override (nattb8) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add value prop (campaign measurement, player attribution) - Use diff blocks for init-line changes instead of ambiguous fragments - Clarify consent vs consentMode are mutually exclusive - Improve full consent description (identity matching context) - Remove trailing blank line Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Make it explicit that there is no callback when CMP detection times out, and show a setTimeout-based fallback pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nattb8
approved these changes
Apr 13, 2026
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