✔ Install GTM code - Remove other
Completed by Hector M.
- Assigned to
-
Hector M.
Isaac K.
- Notes
-
Isaac
As per our conversation on Slack, we need to add a GTM code to https://dccmacademy.com while also removing one already there... I will provide the information below....
Please remove it from the site and instead, add the following GTM-KXNTWGQ one below
https://dccmacademy.com
<!-- 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-KXNTWGQ');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KXNTWGQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
This client's set up has been a nightmare. They have 2 different properties with 2 totally different names which made impossible to track in GTM and GA.
I am glad I finally figured it out.
I confirmed on https://dccmacademy.com now.
On the other site -- https://surfacemedicalesthetics.com
I am seeing a Google analytics account which does not belong to this site.
G-T7TV95YKF9
Can you please remove the code for this one?
I deleted the GTM container so it should have been gone by now. Unless it needs to be purged and I am seeing the cache version?
Please verify for me..
Thank you.
I logged into the site myself and tried to find the G-T7TV95YKF9 analytics script to see where it was added, but I could not.
Can you please track it down and remove it?
Only this G-LMNEC7XT5M analytics code should be on the https://surfacemedicalesthetics.com site.
Thanks.
This client has been a headache.
They had 2 GTMs for 2 different properties which seem like two totally different clients.
I have finally figured it out and now with your help, we are all set.
https://surfacemedicalesthetics.com
G-LMNEC7XT5M
GTM-53PQK5M
https://dccmacademy.com
G-T7TV95YKF9
GTM-KXNTWGQ
Thank you Isaac.
We have conversion tracking broken on this site https://surfacemedicalesthetics.com/coolsculpting/
I am seeing a message on the Google Tag assistant.
Invalid call to gtag(), the Global site snippet is not installed
Any idea what is going on??
<!-- <script type="text/javascript"> // Document Ready jQuery(document).ready(function($){ $('#schedule').on('click', function(e){ gtag('event','click', { 'event_category': 'Buttons', 'event_label': 'Schedule Form Button Click' }); }) //track telephone link clicks $('a[href*="603-783-1087"]').on('click', function(e){ gtag('event','click', { 'event_category': 'Links', 'event_label': 'Telephone Number Link Click' }); }) }) </script>Please check again now on your end. Thank you.
FYI
Since both of the sites are completely named differently, it is close to impossible to find them.
In any event, it looks like you guys figured it out.
P.S. Always check the client's spreadsheets. I keep that updated pretty accurately.