@@ -120,49 +120,3 @@ Note: the nonce covers the inline snippet only. The CDN-loaded script (`imtbl.js
120120| Safari | 14+ |
121121| Edge | 80+ |
122122
123- ## Game Page Integration
124-
125- The Game Page uses the pixel with ` consent: 'anonymous' ` (no PII, device signals only):
126-
127- ``` html
128- <script >
129- (function (){
130- var w= window ,i= " __imtbl" ;
131- w[i]= w[i]|| [];
132- w[i].push ([" init" ,{" key" : " GAME_PAGE_PUBLISHABLE_KEY" ," consent" : " anonymous" }]);
133- var s= document .createElement (" script" );s .async = 1 ;
134- s .src = " https://cdn.immutable.com/pixel/v1/imtbl.js" ;
135- document .head .appendChild (s);
136- })();
137- </script >
138- ```
139-
140- ### Validation Checklist
141-
142- After installing on Game Page, verify:
143-
144- - [ ] Snippet is in ` <head> ` and does not block rendering (async load confirmed)
145- - [ ] Page load impact under 50ms (measure with Lighthouse)
146- - [ ] ` PageMessage ` events visible in events pipeline with ` surface: 'pixel' `
147- - [ ] Attribution context (UTMs, referrer) correctly captured on campaign-linked visits
148- - [ ] Session cookie (` _imtbl_sid ` ) set and rolling on navigation
149- - [ ] Anonymous ID cookie (` imtbl_anon_id ` ) set with 2-year expiry
150- - [ ] No console errors across Chrome 80+, Firefox 78+, Safari 14+, Edge 80+
151- - [ ] CSP (if any) allows ` script-src cdn.immutable.com ` and ` connect-src api.immutable.com `
152- - [ ] 100% of events pass backend schema validation (check rejected count in API logs)
153- - [ ] Event volume within expected range — no duplicate events, no runaway listeners
154- - [ ] Monitor for 24 hours post-deployment before clearing for external rollout
155-
156- ### Browser Compatibility Matrix
157-
158- | Check | Chrome 80+ | Firefox 78+ | Safari 14+ | Edge 80+ |
159- | -------| -----------| -------------| ------------| ---------|
160- | Pixel loads (no network errors) | | | | |
161- | ` page ` event fires (POST 200 in Network tab) | | | | |
162- | ` surface: 'pixel' ` in request body | | | | |
163- | ` _imtbl_sid ` cookie set (30min expiry) | | | | |
164- | ` imtbl_anon_id ` cookie set (2yr expiry) | | | | |
165- | UTM params captured in properties | | | | |
166- | ` form_submitted ` fires on form submit | | | | |
167- | ` link_clicked ` fires on outbound click | | | | |
168- | No console errors | | | | |
0 commit comments