Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update google tracking code for CFE #207

Closed
toloudis opened this issue Sep 3, 2024 · 0 comments · Fixed by #210
Closed

update google tracking code for CFE #207

toloudis opened this issue Sep 3, 2024 · 0 comments · Fixed by #210
Assignees

Comments

@toloudis
Copy link
Contributor

toloudis commented Sep 3, 2024

The main change is to replace the current Google Tag Manager container ID of "GTM-55J7XSR" to the new container ID of "GTM-5ZMGFX6N". They appear in the below snippets (showing the new container ID) where it was originally installed:

  1. This code is in in the of the page:
<!-- 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=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5ZMGFX6N');</script>
<!-- End Google Tag Manager -->
  1. This code is after the opening tag:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5ZMGFX6N"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants