Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1209886

    Hello,

    we’re having a few issues with the cookie banner GDPR settings on multiple enfold pages.
    The settings applied are “opt in” in the behaviour settings but despite these, there’s still cookies being set on page load.

    Google Analytics was integrated via Google Tag Manager and the default [av_privacy_google_tracking][/av_privacy_google_tracking] doesn’t seem to be able to identify GA cookies via GTM. However, even when set as Custom Cookies they won’t be blocked.

    The latter issue is also the case for third party cookies e.g. Facebook Pixel. Even when set as Custom Cookie, both FB Cookies are being set regardless – upon page load.

    Unfortunately the documentation under the following is incomplete; the passage about Custom Cookies is missing: https://kriesi.at/documentation/enfold/privacy-cookies/#additional-custom-cookies

    How can GTM cookies as well as third party cookies be disabled with the Enfold Cookie Banner?

    BR
    Steph

    #1212089

    Hey Steph,

    We are sorry for the late reply!

    I am not able to get the password. Could you please send it once again?

    We will update docs soon and include custom additional cookies :)

    Best regards,
    Yigit

    #1212132

    Hi Yigit

    Sorry for that. I ve reset the pass. Please find a new link in the private area.

    Br, Steph

    #1212146

    Hi,

    Have you cleared cookies before checking?
    I just logged into your website and checked initially stored cookies and there are only WP and PHP related ones. Attached a screenshot in private content field.

    After accepting cookies, Enfold’s cookies are also stored. I tested on a private page. Could you please elaborate a bit more so we can make sure that we are on the same page? :)

    Also, just updated Additional Custom Cookies section on our docs – https://kriesi.at/documentation/enfold/privacy-cookies/#additional-custom-cookies

    Regards,
    Yigit

    #1212189

    Hi Yigit,

    yes, I’ve cleared the cookies before checking in order to be sure which ones are really being set by the page and to check cookie behaviour on load as well as different cookie settings.

    I’ve tried Chrome, Firefox and Safari now and in all the three browsers Google Analytics as well as Facebook Pixel are being displayed. I attached a screenshot of the Chrome dev tools as private data.

    The cookies on the screenshot are stored before even interacting with the cookie banner, let alone accepting any cookies or applying settings.
    We’ve set the cookie behaviour to opt in, so cookies must not be stored unless accepted.

    Thanks for updating the docs btw, seems we’ve defined our custom Facebook pixels right. Still they’re being stored upon page load and cannot be turned off with the integrated switches of the cookie settings modal.

    Br
    Steph

    #1213979

    Did you have a chance to take a look at this already?

    #1215007

    Hi,

    Sorry for the delay. We can’t seem to reproduce the issue on our end. The FB pixel cookies are not saved automatically on initial load and they’re still not available after enabling the cookies. Did you remove the FB pixel snippet?

    Best regards,
    Ismael

    #1216105

    Hi,

    the FB pixel snippet is still on the site. I’ve tried it again and made a screen recording of the behaviour in question which you’ll find in the private section.
    I was using Chrome Version 81.0.4044.138 on macOS Catalina Version 10.15.4 (19E287)

    Also tried it on Windows 10 with Chrome and had the same behaviour there.

    Kind regards,
    Steph

    #1217604

    Hi,

    Thank you for the update.

    Did you set jQuery to load in the footer? We found this error in the Chrome console..

    Uncaught TypeError: $ is not a function
        at <anonymous>:1:1
        at gtm.js?id=GTM-NHH6HM8:695
    

    .. which is generated from this script:

    $(function() {
        $("div.av-horizontal-gallery-wrap").click(function() {
            dataLayer.push({
                event: "generic-event",
                "event-category": "Slider",
                "event-action": "Klick auf Thumbnail",
                "event-label": $(this).index() + ": " + $(this).find("img").attr("title"),
                "event-value": 10
            })
        });
        $("a.av-horizontal-gallery-next").click(function() {
            dataLayer.push({
                event: "generic-event",
                "event-category": "Slider",
                "event-action": "Klick auf Control",
                "event-label": "Next",
                "event-value": 10
            })
        });
        $("a.av-horizontal-gallery-prev").click(function() {
            dataLayer.push({
                event: "generic-event",
                "event-category": "Slider",
                "event-action": "Klick auf Control",
                "event-label": "Prev",
                "event-value": 10
            })
        })
    });
    
    

    Where did you add the script? Please try to disable the jQuery in footer option from the Enfold > Performance panel.

    Best regards,
    Ismael

    #1220444

    Hi Ismael,

    the jQuery error originated from the Google Tag Manager and has been resolved.

    Unfortunately, the cookie behaviour still persists.

    Best regards
    Steph

    #1221652

    Hi,

    Where did you add the FB Pixel snippet? The theme doesn’t have a custom cookie controller for it, so a lot of users place the snippet in the Google Services > Google Analytics field along with the tracking snippet.

    You can also create a Custom Cookie toggle in the Privacy > Cookie Handling > Advanced Options section.

    Best regards,
    Ismael

    #1221975

    Hi Ismael,

    the FB Pixel as well as Google Analytics is integrated into the website via the Google Tag Manager.
    We can’t seem to block these cookie, therefore they’re being set upon page load. They’re already set as Custom Cookies but that doesn’t have any effect on the behaviou.

    Best regards
    Steph

    #1222013

    Hi,

    What do you mean by “via the Google Tag Manager”? Do you mean the Google Services > Google Analytics field?

    Did you create custom toggles for the following cookies?

    name: _fbp || path: /
    name: __gat_UA-682811-33 || path: /
    name: __ga || path: / 
    name: _gid || path: /
    

    Best regards,
    Ismael

    #1222368

    Hi,

    no, we haven’t been using the Google Services > Google Analytics field, we integrated our Google Tag Manager with the Tracking Code in our functions.php in order to make the page more customer friendly. Google Analytics and FB Pixel are in the Google Tag Manager, being set on the site via the GTM script. They’re not integrated directly into our site, only the Google Tag Manager is.

    We were hoping to use [av_privacy_google_tracking][/av_privacy_google_tracking] to disable the Google Analytics cookies but it hasn’t been working.

    I’ve put additional Custom Cookies for Analytics now, the FB ones had already been set.

    The behaviour is still unchanged; the Google Analytics and FB Pixel Cookies are being set upon page load and disabling them with the toggle switch just adds an additional cookie, claiming it’s disabled. The cookies aren’t being deleted though.

    Our issue seems to be that Cookies from the GTM cannot be blocked with Custom Cookies. Would this change if we integrated the Google Tag Manager snippet with the Google Services > Google Analytics field instead? (assuming this integration is possible)

    Best regards
    Steph

    #1222649

    Hi,

    Thank you for the info.

    The theme only has limited control over which cookies or scripts it can block and that includes the snippet added in the Google Analytics, maps from the builder, fonts, embedded videos or the spam protection. Since the FB Pixel and GA tracking are added in a different manner, the theme will not be able to detect them. You have to add it back to the Google Analytics field, or you will have to create a custom script that will manually block those cookies.

    Best regards,
    Ismael

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