I have an interactive chart that is within my clients site and when I add the google analytics coding they are requesting it breaks the entire thing. It worked in the past but with this latest version of the site it does not.
I am not a coder by any means, but I know I have the information in the right spot of the HTML code so I am not sure what is happening. I am using version 3.8.24 with InDesign 2026.
This is the page without the Google Analytics: https://www.victaulic.com/interactive-sprinkler-chart/
And here is their instruction on how to put the code for the analytics.
1. Paste this code as high in the <head> of the page as possible:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
})(window,document,'script','dataLayer','GTM-W22DGC');</script>
<!-- End Google Tag Manager -->
2. Paste this code immediately after the opening <body> tag:
<!-- Google Tag Manager (noscript) -->
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
Is there something that changed in the more recent updates to make this not work as it did previously?