-
AuthorPosts
-
January 3, 2021 at 2:13 pm #1270047
Hi Support Community
I am struggling with Google Analytics. The Google Analytics Tracking Code is entered in Enfold Theme settings. When cookie consent messages disabled, then Analytics works fine.
When cookie consent messages are enabled, then Analytics tracks no data.
The settings are:
– Enable cookie consent messages
– User must accept and must opt in, only essential cookies selected
– Button Action 1: Accept all cookies and services, dismiss notification
– Button Action 2: Do not accept and hide notificationThere is no difference if “Auto Reload Page” is enabled or not.
Independently which button pressed, Google DevTools> Applications> Cookies parameter aviaPrivacyGoogleTrackingDisabled is set to “true”.
Any idea what goes wrong?
Many thanks,
AndreasPS: You can find WordPress Admin login in Privat Section.
January 5, 2021 at 2:41 am #1270285Hey Andreas,
Thank you for the inquiry.
The issue is probably with this part.
– User must accept and must opt in, only essential cookies selected
The analytics or tracker will not work unless the user opt in or manually toggle the privacy buttons designated to enable/disable the Google Analytics script. If you want the tracker to work independent of the privacy options, you have to set the Default Cookie Behavior settings to the first or second option instead. This should allow the tracker script to load without the users having to accept the cookies.
Best regards,
IsmaelJanuary 5, 2021 at 2:43 am #1270286Hi,
UPDATE: When we checked the site, the analytics script properly loads and the tracker as expected, automatically collects data from the site once we accepted the cookies. Please check the screenshot below.
Screenshot: https://imgur.com/a/zzMjMOD
Best regards,
IsmaelJanuary 5, 2021 at 12:35 pm #1270379Hi Ismael
My hair goes grey… It looks like it randomly works. Today it seems to work fine, but I don’t know why.
It looks like; if once the opt-out was chosen, the browser remembers this a very long time and clearing browser cache doesn’t reset the decision. I know it sounds strange. This morning I noticed on one device tracking does not work independently which button I pressed. Clearing Google Chrome browser cache nothing changed. Uninstalling and then instaling Chrome solved it and tracking worked.
It is not trustfully, indeed when we will run an Ads campaign. I must further observe it.
Thanks,
AndreasJanuary 6, 2021 at 2:00 pm #1270612Hey!
Thank you for the update.
We got the same result when we checked the site again today. The analytic script loads and the tracker as usual happily collects data from me and from the site. Check the screenshot below, which is basically the same as the first, but please check the date.
Screenshot: https://imgur.com/a/C3lqpEq
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.