Release · v2.4.4
Fix GA4 init stub to use dataLayer.push(arguments)
Fix GA4 init stub to use dataLayer.push(arguments).
Details
The TS-compiled analytics-init used rest params, which broke the GA4 verification test and prevented collection hits. Restore the standard gtag stub and relax the source check to match dynamic config. Co-authored-by: Cursor <cursoragent@cursor.com>
Files changed (2)
| frontend/client/ts/analytics-init.ts | +6 | −5 |
| test/verify_google_analytics.mjs | +4 | −3 |