Posts

Showing posts from January, 2026

Medallia Digital Experience Analytics (DXA) from GTM

Implementing Medallia Digital Experience Analytics (DXA) in GTM — A Sandboxed JavaScript Recipe Published · Tags: GTM, Medallia, DXA, Decibel Insight, Sandboxed JavaScript, Custom Template, Consent Management, CSP Medallia Digital Experience Analytics — DXA, formerly known as Decibel Insight — ships its standard installation instructions as a Custom HTML snippet: a pair of dns-prefetch links followed by an inline <script> block that builds a queue object on window and injects the Decibel loader. That works, but every Custom HTML tag with inline JavaScript is a Content Security Policy liability, and a Custom HTML tag has no concept of consent state once the page has loaded. Hardcoded client and instance IDs make it painful to route production and development traffic to different DXA instances. I would prefer to deploy as little custom JavaScript as possible to achieve the fastest, cleanest web measurement implementation possible. This post walks through the GTM Sandboxe...