Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1295893

    Dear Kriesi Team,
    I observed the following behavior: Cookie Handling is set to “User must accept and can opt-out, all selected by default” ->

    I get on the page and as soon as I am on the page the following cookies are set:

    • _gat_gtag_UA_193670541_1
    • _gid
    • _ga

    When the user doesn’t accept, the aviaCookieConsent will be added to the list. The google cookies are still set.
    Thats nor right from my point of understanding the Telekommunikationsgesetz in Austria.
    Please provide some help or fix for this issue.

    Thanks & Greets Tobias

    • This topic was modified 3 years, 7 months ago by tobiastoifl.
    #1296341

    Hey Tobias,

    Thank you for the inquiry.

    The google cookies are still set.

    That is correct. The cookie will stay but further tracking from Google Analytics will not occur because once the user chose to block the tracker, the analytics script will no longer load. The remaining cookies in the local storage are not usable or has no effect from that point onward.

    Best regards,
    Ismael

    #1296344

    Hi,
    thank you for the comment.
    Is it complex to remove the cookie? Maybe in a future release ?
    Just to be clear :)

    Greets Tobais

    #1296694

    Hi,

    It should be possible, but for now you have to modify the functions-enfold.php file directly and around line 1109, look for this code.

    window['ga-disable-{$UAID}'] = true;
    

    Below, add this.

    
       document.cookie = '_ga=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    						document.cookie = '_gid=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    						document.cookie = '_gat_gtag_UA_{$UAID}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    

    This should unset or remove the previous ga cookies.

    Best regards,
    Ismael

    #1296726

    Hi & Thanks,
    I updated the parent theme (was this right?) – no effect.

    
    if( ! allow_continue )
    { 
    //		window['ga-disable-{$UAID}'] = true;
    //https://kriesi.at/support/topic/google-analytics-cookies-are-set-before-accepting-the-cookie-consent/#post-1296694
    //CUSTOMIZED by KRIESI
    		document.cookie = '_ga=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    		document.cookie = '_gid=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    		document.cookie = '_gat_gtag_UA_{$UAID}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
    		if( script_loaded.length > 0 )
    		{
    			script_loaded.remove();
    		}
    	}
    	...
    }
    
    • This reply was modified 3 years, 7 months ago by tobiastoifl.
    #1296889

    Hi,

    Thank you for the update.

    Can we access the site? We would like to test the changes above. Please provide the WordPress details in the private field and please make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

    #1296922
    This reply has been marked as private.
    #1297287

    Hi,

    Thank you for the info.

    We tried to access the site but it is not loading properly. Is the site down? Please disable the security plugin temporarily or configure the firewall. Or let us know when the site is up again.

    Best regards,
    Ismael

    #1297293

    Hi, the username and password is correct.
    I was able to connect from a never used remote host to the website.
    Please check the copy&paste.

    Greets Tobias

    #1297460

    Hi,

    Thank you for the info.

    There is an extra “a” after the “be” in the site URL above, which is why it did not work previously.

    How did you implement the Google Analytics? We checked the Enfold > Google Services > Google Analytics Tracking Code field, but it is empty. Please note that the privacy option can only detect and prevent the tracker if it is implemented through the Theme Options. If you are using a third party plugin to enable the tracker, the privacy options will not be able to block it.

    Best regards,
    Ismael

    #1297491

    Oh thanks, sorry for the typo.
    Ok I am using Google Site Kit. I will adopt it accordingly to work with this Plugin.

    Greets Tobias

    #1297884

    Hi,

    No problem. We will keep this thread open for further updates, but please feel free to open another if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.