Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1311768

    Hi there
    We have a multisite and webs using WPML and cookie bar appear every time you switch sites
    We’ve tried to implement solutions from this support forum but nothing seems to work
    Updating the theme to the last version did not work
    If you check the inspector cookies are enabled when switching between sites but message still apears
    Please check it out switching between / and /fr
    /en does not have the cookie bar enabled
    We’re using the option: “user must anccept and must opt-in, only only essential cookies selected

    nor did adding the script
    https://kriesi.at/support/topic/cookie-consent-message-disabled-cookies/
    //——————————-
    // Hide Cookie consent when cookies are disabled on browser
    //——————————-
    function av_cookie_disabled(){
    ?>
    <script>
    jQuery(window).load(function(){
    if (! navigator.cookieEnabled){
    jQuery(‘.avia-cookie-consent’).addClass(‘cookiebar-hidden’);
    }
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_cookie_disabled’);

    the script seems to hides the message but it stll appears for at least 1 or 2 seconds

    editing the file: wp-content\themes\enfold\js\avia-snippet-cookieconsent.js did not change a thing
    as said on this thread https://kriesi.at/support/topic/global-cookie-consent-for-multisite-installation/

    I’ve attached a couple of screenshots too to show you how the cookie bar message shows
    We’d need a solution for this asap
    Thanks a lot in advance

    #1311769

    moreover
    if you accept cookies at the /fr site and navigate to any page message keeps appearing, on every page in the /fr site

    #1312298

    Hi,

    This is what happens on our end. When we visited the FR site, accepted the cookies and go to another page, the cookie message bar remains hidden. When we switch the language or go to the EN site, the cookie message bar pops up again, which is the expected behavior since the other version (EN) is considered as a different domain or site. This also nullifies the privacy cookies in the FR site, so when you switch back to it (to the FR site), the cookie message bar has to pop up again. This is not going to be an issue unless the user intentionally switches languages for no reason. The user will probably stick to one language, accept the cookie message bar there, then continue to other pages in the same language.

    Best regards,
    Ismael

    #1312335

    Ismael, thanks a lot for your response
    but it is an issue
    check out the inspector and look for the cookies, cookies are enabled when you accept the message in one site but message still appears on a different site, if cookies are enabled message should not appear within the same domain

    #1312339

    moreover, this is key
    This also nullifies the privacy cookies in the FR site, so when you switch back to it (to the FR site),
    that should not happen, if cookies are enabled for one site message should not appear again even if you leave the site, go to another domain and come back, cookies keep enabled until you clear them intentionally

    if i go to my site accept cookies, go to another url like https://kriesi.at/ and then return to my site the cookie message do not appear, that does not nullify cookies, this behavior should be the same for de main site and the other sites like /fr within multisite

    having to accept cookies on every site is one thing but then cookies should stay enabled even if you leave the site and then come back, other behaviors are not acceptable and are definitely issues

    #1312993

    Hi,

    if i go to genesalenergy.com accept cookies, go to another url like https://kriesi.at/ and then return to genesalenergy.com the cookie message do not appear, that does not nullify cookies

    That is quite expected since the other site (kriesi.at or any external site) and your site do not share the same local storage. Unfortunately, the EN and FR version of your site do, so whenever someone switches to a different language on the same browser, accept the cookies or privacy options there, the stored cookies from the previous language is nullified or removed. This is not going to be an issue if the user continue browsing on the same language. If they did switch to another language, then they have to accept the privacy options again.

    Best regards,
    Ismael

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