Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Google Tag Manager

More
1 year 3 months ago #74921 by Aks
Replied by Aks on topic Google Tag Manager
Hi Cedric, do you think this (Google tag manager) is something you'll have time to look into in the near future?

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #74922 by ced1870
Replied by ced1870 on topic Google Tag Manager
Hi
you are on my list
but I have also other things to do and I need to check in deep the Google documentation.
I think that there is something I missed about the Tag Manager versus the Analytics code.

Joomlack Webmaster and Developer
The following user(s) said Thank You: Aks

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 months ago #74958 by ced1870
Replied by ced1870 on topic Google Tag Manager
Hi
I have check in the Google Tag Manager console and it gives me a code to insert in the website
this code is exactly the same as the one added by Cookies CK


<!-- Google tag (gtag.js) -->
... src=" www.googletagmanager.com/gtag/js?id=G-XXX "...
...
window.dataLayer = window.dataLayer || ;
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXX');
...
 

Please clarify the situation on your side, because I don't see what is wrong here
CEd

Joomlack Webmaster and Developer
Last edit: 1 year 2 months ago by ced1870.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #74959 by Aks
Replied by Aks on topic Google Tag Manager
Dear Cedric,

I don't want to bother you with this if no-one else is clamoring for it. Here is an explanation from ChatGpt:

chatgpt.com/share/68b82036-4ad4-800f-ab0a-f7ab2a0b6942

Never mind, I will find a solution.

Best wishes,

Alan

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #74960 by ced1870
Replied by ced1870 on topic Google Tag Manager
it's also interesting for me to know what could be wrong
so on your side you are using the Google Tag Manager container script ?

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #74961 by Aks
Replied by Aks on topic Google Tag Manager
Well, I was trying to set it up and it seemed like (I could be wrong) Cookies CK was blocking the execution of the scripts. One of the reasons for switching from using GA4 directly to using the Tag Manager is that it supposedly facilitates the exclusion of bot traffic before the data reaches GA4

Actually Google Tag manager gives me two code snippets to insert:
  1. As high in the <head> of the page as possible:
  2. Immediately after the opening <body> tag:

Please Log in or Create an account to join the conversation.

Time to create page: 0.204 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 867 guests and 5 members online