Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GA4 Debugging: Survive and Thrive

GA4 Debugging: Survive and Thrive

Debugging tags in GA4 isn’t easy. This talk will show you how to use a combination of Tag Assistant, GTM Preview Mode, and Chrome Dev Tools, to check if tags are firing and the correct payload is being sent to the analytics server.

Jonathan Moore

October 04, 2024
Tweet

More Decks by Jonathan Moore

Other Decks in Marketing & SEO

Transcript

  1. What I do I solve problems and build capabilities About

    me Technical SEO and Analytics Consultant
  2. <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gta g/js?id=G-PSW1MY7HB4"></script> <script>

    window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-PSW1MY7HB4'); </script>
  3. <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gta g/js?id=G-PSW1MY7HB4"></script> <script>

    window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-PSW1MY7HB4'); </script>
  4. <html> <head> GTM <head> SNIPPET SHOULD BE HERE. </head> <body>

    GTM <body> SNIPPET SHOULD BE HERE. </body> </html>
  5. <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gta g/js?id=G-PSW1MY7HB4"></script> <script>

    window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-PSW1MY7HB4'); </script>
  6. This is an easy way to check if GTM or

    a CMP are causing problems
  7. • Find tags • Check tag syntax • Review tag

    settings • Find legacy tags • Perform bulk tag checks • Locate events that are firing twice • Check for broken journeys • Set up debug_mode • Block GTM