x

New google tracking

I'm trying to set up Google analytics on my site and the tracking ID they are giving me starts with G-TC..., they are removing universal analytics as of July 2023 according to their site. Is there a way to add this tracking new tracking id or code as square keeps giving me an error when I try? Has anyone else had luck adding this code or tracking id?

 

This is the tracking code I am getting from google which is being denied by square/weebly

 

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

gtag('config', 'G-TCDG....Y');
</script>

241 Views
Message 1 of 1
Report
0 REPLIES 0