• Resolved RockYourBlog

    (@rockyourblog)


    Hey there,

    I really like your plugin, great work! It’s working fine so far, but I have two issues:

    • 1. I’m using Borlabs Cookies and can’t get it to work with CAOS. Borlabs saves the choices made in the Cookie Notice like this:

      %7B%22consents%22%3A%7B%22essential%22%3A%5B%22borlabs-cookie%22%2C%22typekit%22%5D%2C%22statistics%22%3A%5B%22google-analytics%22%5D%2C%22external-media%22%3A%5B%22pinterest%22%2C%22instagram%22%2C%22youtube%22%5D%7D%2C%22domainPath%22%3A%22url.de%2F%22%2C%22expires%22%3A%22Mon%2C%2013%20Sep%202021%2010%3A50%3A48%20GMT%22%2C%22uid%22%3A%227y11ermn-mzci56tn-yzslnzwl-hfdtfxu2%22%2C%22version%22%3A%221%22%7D

      So I’ve entered “google-analytics” in the cookie value field in CAOS settings, but this won’t work. I suspect that CAOS looks for the exact value of the specified cookie and not if value is a part of the whole string. So is it possible to use wildcards or something?

    • 2. If I enable the “Track Ad Blockers” extension I get a JS error in the console:
      detect-ad-block.js?ver=3.7.6:8 Uncaught TypeError: Cannot read property 'appendChild' of null
          at Object.create_element (detect-ad-block.js?ver=3.7.6:8)
          at Object.init (detect-ad-block.js?ver=3.7.6:8)
          at detect-ad-block.js?ver=3.7.6:10
      create_element @ detect-ad-block.js?ver=3.7.6:8
      init @ detect-ad-block.js?ver=3.7.6:8
      (anonymous) @ detect-ad-block.js?ver=3.7.6:10

      This happens both with Firefox and Chrome without an AdBlocker enabled. If I enable an AdBlocker (uBlock Origin) the error vanishes. Instead I get another error, but I think thats unrelated and just uBlock blocking the “Stealth Mode Lite” feature:

      analytics.js:36 POST https://foodnphoto.de/wp-json/caos/v1/proxy/j/collect?v=1&_v=j85&aip=1&a=482876993&t=pageview&_s=1&dl=https%3A%2F%2Ffoodnphoto.de%2Fstracciatella-kuchen-orangen-1347%2F&ul=de-de&de=UTF-8&dt=Stracciatella-Kuchen%20mit%20Orangen%20-%20Food%27n%27Photo&sd=24-bit&sr=1920x1080&vp=1920x969&je=0&_u=SCCAAAIhEAAAAC~&jid=1275538016&gjid=919406489&cid=136492942.1600000405&tid=UA-125435680-1&_gid=2125652915.1600000405&_r=1&z=772024740 net::ERR_BLOCKED_BY_CLIENT

    Any help is appreciated!

    Cheers,
    Philipp

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter RockYourBlog

    (@rockyourblog)

    Any ideas? At least for issue 1? I really want to use CAOS, but without getting it to work with Borlabs Cookies, that won’t be a possibility.

    @daanvandenbergh maybe?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Sorry for the late reply. Your support ticket got list in the pile!

    I suspect that CAOS looks for the exact value of the specified cookie and not if value is a part of the whole string.

    You’re right. It checks for the exact value, but I guess I could make the check ‘loose’. I’ll add it to my to-do list!

    f I enable the “Track Ad Blockers” extension I get a JS error

    I can’t reproduce this error. Are you using any minification or JS combine plugins?

    but I think thats unrelated and just uBlock blocking the “Stealth Mode Lite” feature

    Yep, Stealth Mode Lite is blocked by uBlock. CAOS’ Super Stealth Upgrade bypasses Ublock Origin perfectly, though. ??

    Thread Starter RockYourBlog

    (@rockyourblog)

    Hey @daanvandenbergh

    I’m pinging you again because I’d like to know if you have implemented the ‘loose’ check for the cookie value in one of the last updates. An additional “Cookie contains value” (instead of “has value“) option would be great. (issue 1 in my original ticket)

    I’m setting up a new webpage for a customer and stumbled upon CAOS again. All my sites use Borabls Cookie and it seems CAOS still isn’t compatible with it because of the above mentioned problem. I’d love to use your plugin in my projects and I’m sure some of my customers would even pay for Super Stealth Mode.

    Cheers
    Philipp

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Sorry! I haven’t, but I’m working on a new feature for CAOS this week. I’ll take this up immediately!

    Thread Starter RockYourBlog

    (@rockyourblog)

    Thanks for your reply, thats good to hear! I’m gonna wait for the update then ??

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi again!

    v4.0.0 features the ‘if cookie value contains’ option — among other things! ??

    Enjoy!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CAOS with Borlabs Cookie + JS error with “Track Ad Blockers” enabled’ is closed to new replies.