• Resolved sufferwings

    (@sufferwings)


    I noticed that google analytics cookies (I use sitekit by google) are blocked even if I accept all cookies in the banner. And analytics visits are blank.
    If I deactivate the plugin I can see google analytics cookies.

    The plugin works perfect for video youtube, if an user chose to refuse, video are locked and if accept them I can see the video embedded. The only problem is for the cookies of google analyitcs (maybe even youtube can’t create cookies).

    Obliovusly I need that cookies after consent.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sufferwings

    (@sufferwings)

    Solved

    `Disable unsafe-inline
    Disables the use of inline resources, such as inline <script> elements, javascript: URLs, and inline event handlers.

    Disable unsafe-eval
    Disables the use of eval() and similar methods for creating code from strings.`

    one of two these options that I activated locked my cookies.

    Could you explain how these options works?

    thanks in advance

    Plugin Author Johan Jonk Stenstr?m

    (@jonkastonka)

    ‘unsafe-eval’
    Allows the use of eval() and similar methods for creating code from strings.

    ‘unsafe-inline’
    Allows the use of inline resources, such as inline <script> elements, javascript: URLs, and inline event handlers.

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google analytics blocked even after acpet all’ is closed to new replies.