WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 22.05.2023 11:37:15

casi
Member

Google Analytics 4

Hi, is there a description on how to add the new Google Analytics 4 code into WBCE? Thank you.

Offline

#2 22.05.2023 17:57:28

berny
Member

Re: Google Analytics 4

https://support.google.com/analytics/an … 9681?hl=en

You have to put it into the template.

Offline

#3 24.05.2023 15:32:00

casi
Member

Re: Google Analytics 4

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

Board footer

up