• Resolved mic85b

    (@mic85b)


    It is not very good plugin. It’s amazing.

    But for me have one big disadvantage. The problem is with GDPR. I know that we can disable it by some code but the problem is when we use cache plugin. It will be hardcoded in page cache (for example Page Cache of W3Total Cache for nonlogged users).

    It will be great if it will be possible to disable FB Pixel Code by sample java script.

    Or maybe you have another advice for me. Please help ??

    Sample code to disable:

    <script>
    if (window.is_allowed_cookie( ‘_fbp’ ) )
    {

    …fb pixel code…
    }
    </script>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    Hi,

    If you control the pixel using our dedicated filter there’s an AJAX option on the bottom GDPR page. Enable it and it should work with cache.

    We plan to add a filter to control this option too.

    Thread Starter mic85b

    (@mic85b)

    I can’t find any information how to implement AJAX consent method. Could you write something about it. My guess is that some java script should post something to plugin.

    Plugin Author PixelYourSite

    (@pixelyoursite)

    If it’s your website we are talking about you just need to turn it ON and our filters will work with cache. You can find it on the GDPR section, the last thing there. We already have several implementation working fine in this way.

    If you’re a developer, we will soon add a filter in the free version to control this part.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GDPR – disable pixel by java script’ is closed to new replies.