Analytics launch twice + no Purchase
I spend a lot of time trying to setup GTM + Consent Mode lauching CMP from the GTM.
I tried with a blank HTYML page, and a very simple GTM account.
CMP is triggered on Consent init.
Analytics is triggered have been tested on All pages, DOM Ready, etc....
Whatever I do, it is launch 2 times, except if I launch it on trigger Consent Init, before the CMP, but this is too early, I did not have nothing ready for my datalayer at this moment.
Strange thing, on my Analytics template, I set up a custom dimension. When it is launch 2 times, there is not my custom dimension on the second times.
It look likes the Google Consent blackbox code is firing some pageView inside.
We have updated our GTM deployment article several times within the last three months: https://support.cookiebot.com/hc/en-us/articles/360003793854-Google-Tag-Manager-deployment
Perhaps you can try to re-implement both GTM and GCM.
If it still doesn't work, please create a ticket within our Help Desk: https://support.cookiebot.com/hc/en-us/requests/new
I come back to you.
It seems that you solved that by increasing the "wait_for_update" of Google Consent from 500ms to 2.000ms.
Now, even if it is less frequent, I still have many times Analytics 2 times, with a very few millisecondes delay. The problem is that the second one that is the one Analytics keeps, do not manage to get the DataLayer.
Then, my purchases does not comes up, which is the main visible part of the Iceberg. When I navigate through my website, it happens quite many times, almost 1 page on 10.
This is a major bug, and this does not seems to be linked to my setup. I tried with a very minimalist page, with minimal code, and the problem appears.
Something in the behaviour CookieBot Manual + Google Consent, makes reloading the pageview without Datalayer.
I do not understand, how a major bug like that, is not a priority. Many users complains with that bug.
We have refreshed our GTM organization article a few times inside the most recent three months: https://support.cookiebot.com/hc/en-us/articles/360003793854-Google-Tag-Manager-deployment
Maybe you can attempt to re-execute both GTM and GCM.
On the off chance that it actually doesn't work, kindly make a ticket inside our Help Desk: https://support.cookiebot.com/hc/en-us/request/new
Please sign in to leave a comment.