November 29, 2019 at 1:23 pm #1161221
Ich habe das Problem, dass die Google Analytics/ Tag Manager Cookies nicht von Anfang an blockiert werden und leider auch nicht, wenn man auf “ablehnen” klickt.
Die Google Tracking ID habe ich in das dafür vorgesehene Feld unter Enfold-> Google Dienste eingetragen.
Enfold -> Datenschutz und Cookies -> Default Cookie Behaviour = User must accept and must opt in, only essential cookies selected
In der function-enfold.php habe ich diesen Zusatz eingebaut:
Zeile 955: if(isset($_COOKIE[‘aviaPrivacyGoogleTrackingDisabled’]) && $_COOKIE[‘aviaPrivacyGoogleTrackingDisabled’] == true) return;
Wieso werden die Cookies trotzdem gesetzt?
I have the problem that the Google Analytics / Tag Manager cookies are not blocked and unfortunately not, if you click on “reject”.
The Google Tracking ID has been entered in the space under Enfold-> Google Services.
Enfold -> Privacy and Cookies -> Default Cookie Behavior = User must accept and sign in, only essential cookies selected
In function-enfold.php I have added this addition:
Line 955: if (isset ($ _ COOKIE [‘aviaPrivacyGoogleTrackingDisabled’]) && $ _COOKIE [‘aviaPrivacyGoogleTrackingDisabled’] == true) return;
Why are the cookies still set?December 3, 2019 at 12:48 pm #1162176
Thank you for the inquiry.
The tracker is actually disabled because the opt out property is set to true and no cookies related to analytics are stored on page load. Please check the screenshot below.
IsmaelDecember 3, 2019 at 4:59 pm #1162273
My problem is that I want to block the Analytics cookies as long as the visitor did not read the cookie hint and accepted it.
If he accepts -> the cookies may be set
If he refuses -> the cookies may not be set
At the moment the cookies are set though this should not be so.
I hope you can help me.
KiMDecember 4, 2019 at 9:18 am #1162495
Thank you for the update.
There are no cookies set on page load. How do you check the local or cookie storage? Please check the screenshot below.
IsmaelDecember 10, 2019 at 12:54 pm #1164377
I always check the cookies with Gostery. As you can see, Gostery blocks Google Analytics cookies, although they may not be set without permission.
Please check the screenshot -> https://imgur.com/a/ApTT8JT
KiMDecember 11, 2019 at 10:38 am #1164769
Thank you for the update.
We are not really familiar with that extension, so we can’t really tell you anything aside from what we have already told you previously. In the screenshot above/below, no cookies are stored on page load — not from Google Analytics or from anywhere else. Have you tried checking the actual local storage in your browser?
And the analytics tracker only collects the data once the cookies are accepted. Check the screenshot below.
The analytics script doesn’t initiate the tracker when the essential cookies are not yet stored in the local storage and when the analytics privacy option is not enabled.
IsmaelDecember 12, 2019 at 2:32 pm #1165207
When I check the actual local storage in my browser I get this result. -> https://imgur.com/a/mP1HadD
Maybe it helps if you take a look in the backend?December 13, 2019 at 9:42 am #1165442
We can’t reproduce the same on our end. The cookie storage is empty as you can see in the screenshot that we provided above. We’ll add it again below.
We checked it again today and it’s still the same. The analytics tracker only saves its cookies once we accepted the cookies and only after reloading the page. Otherwise, it’s empty.
You must be logged in to reply to this topic.