• Resolved lofesa

    (@lofesa)


    Hi
    After the last update to version v2.3.2 I´m getting this message in dev tools console: (index):12 Uncaught TypeError: getCookieValue(…) is not a function.
    I think is a lack of a semicolon, this one
    getCookieValue('wp_gdpr_cookie_preferences');(function(i,s,o,g,r,a,m)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Could you send me a screenshot of your settings? I’m not getting this error, but it might be due to some combination of settings.

    Thread Starter lofesa

    (@lofesa)

    Hi
    I have solved the issue adding a semicolon in file host-analyticsjs-local.php Line 417, at the end:
    cookieValue = getCookieValue('<?= CAOS_ANALYTICS_COOKIE_NAME; ?>');

    Relevant settings are:
    Allow tracking… When cookie is set
    Cookie name “The name of the cookie”

    The line 417 bellow to a snipet that is fired with these settings starting at line 400.

    • This reply was modified 6 years, 11 months ago by lofesa.
    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    I added your fix to the last release, @lofesa. This must’ve snuck in with some sort of auto formatting glitch. Thanks again for reporting and fixing it!

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

The topic ‘getCookieValue(…) is not a function’ is closed to new replies.