WBCE CMS – Way Better Content Editing.
You are not logged in.
Pages: 1
Hi, is there a description on how to add the new Google Analytics 4 code into WBCE? Thank you.
Offline
https://support.google.com/analytics/an … 9681?hl=en
You have to put it into the template.
Offline
Thank you berny. Sorry if I follow up on this but can I leave the same scripts and simply replace the new Analytics number?
XXXXXXXXXXXXXX = new google code number?
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=XXXXXXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'XXXXXXXXXXXXXX');
</script>
Offline
Pages: 1