• Resolved hannahdapplecreative

    (@hannahdapplecreative)


    Hi there,

    This morning I updated a website (arthritis.ca) to WP 6.9 and also updated this plug in to version 5.0.12. Usually I QA this plug-in by going to incognito mode and accepting the cookies. When I do so, the source code will read var gdpr_consent__advanced = “true” because I accepted the “advanced” cookies (which we call Marketing and Analytics in the backend). Then I refuse the cookies in a new session, and it reads var gdpr_consent__advanced = “false”. However, no matter how many times I try, refresh or attempt a new session, var gdpr_consent__advanced is always reading “true” even when I refuse the cookies. When I hit ‘refuse’ the page does refresh as it should but the code does not update.

    Can you help us figure out why and how to fix this?

    We did QA the WP update to 6.9 and this new plugin update on our Dev site and it works correctly there (and still is). The plug-in has the exact same settings on both Dev and Prod.

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jane

    (@janeaustin)

    Hi @hannahdapplecreative

    Thanks for using our plugins. 

    You may need to experiment with the ‘Script Insertion Method’ and ‘Cookie Removal’ (Settings > General tab) if you are experiencing the issues you’ve described.

    It might be that switching to ‘Dynamic’ will fix your problem.

    Hope this helps. 

    Thread Starter hannahdapplecreative

    (@hannahdapplecreative)

    Hi there,

    I tried switching both to Dynamic, and clearing the Cache, but it did not resolve the issue. Is there something else I can try? Thank you.

    Thread Starter hannahdapplecreative

    (@hannahdapplecreative)

    Hi there, just been investigating this further.

    The source code (var gdpr_consent__advanced =) still returns “true” when it shouldn’t. I tried checking if the plug-in is working in a different way: View the site in a private/incognito window, refuse cookies, then check if cookies are still being set (Chrome > Inspect > Application > Cookies). When I check this way, the plug-in appears to be working:

    • If I accept: {“strict”:”1″,”thirdparty”:”1″,”advanced”:”1“,”performance”:”1″,”preference”:”1″}
    • If I refuse: {“strict”:”1″,”thirdparty”:”0″,”advanced”:”0“,”performance”:”0″,”preference”:”0″}

    I also tried checking re: Google Analytics, to see if it tracks me being on the site in ‘realtime’ and when I accepted, it did track me on realtime analytics and when I refused it didn’t.

    So it does look like the plug-in is working. My question is, is that source code snippet (var gdpr_consent__advanced =) supposed to update based on what the user clicks? If it is (= true if accepted, = false if rejected), why isn’t it toggling correctly?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.