Support » Plugin: Complianz | GDPR Cookie Consent » complianz detects non existing cookies

  • Resolved ghloch

    (@ghloch)


    Hi,
    complianz detects cookies which no other scans detect.
    It shows Google Fonts cookie, but Google Fonts is deactivated.
    No other scan (e.g. Firefox) detects the cookie.
    So what is correct now?
    Ok, I’m using latest WP, latest complianz, latest Theme.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Aert Hulsebos

    (@aahulsebos)

    Hi @ghloch,

    Could you try using the Complianz scan while in incognito mode? It might be a rogue cookie in your browser.

    You can remove Google Fonts from the Cookie list if you’re certain Google Fonts is deactivated in your theme and/or plugins which might use Google Fonts.

    regards Aert

    Ccile

    (@ccile)

    Hello, I had the same pb. It seems that the plugin detect the dns-prefetch of Google font (core WP) . I removed all the dns-prefetch in my function.php like this and it’s ok for me:

    <link rel=’dns-prefetch’ href=’//fonts.googleapis.com’>
    <link rel=’dns-prefetch’ href=’//s.w.org’>

    remove_action( ‘wp_head’, ‘wp_resource_hints’, 2 );

    But It’s just an alternate way to resolve the pb 😉

    Best regards,

    Ccile

    ghloch

    (@ghloch)

    Hi Aert,
    yes I tried. It makes no difference. And if I look with Firefox Inspektor no tcb_google_fonts will be detected. That is strange.
    Yes I can remove the cokkie from the list, I know, but I would prefer to detect the reason. If I do not find anything I can finally do it.

    Hi Ccile, thanks for your proposal but I do not want go this way.

    ghloch

    Plugin Author RogierLankhorst

    (@rogierlankhorst)

    If you still have dns-prefetch requests in your header like @ccile, that’s where the cookie comes from. As you don’t need Google Fonts, you can remove the prefetch as well.

    Plugin Contributor complianz

    (@complianz)

    Hi @ghloch,

    I can still see the prefetch in your source > <link rel=”preconnect” href=”https://fonts.googleapis.com”/&gt;. This would be the obvious reason.

    regards Aert

    Plugin Support Aert Hulsebos

    (@aahulsebos)

    Hi @ghloch,

    I can still see the prefetch in your source: <link rel=”preconnect” href=”https://fonts.googleapis.com”/&gt;

    This would be the obvious reason. regards Aert

    ghloch

    (@ghloch)

    Hi Aert,
    you are right, but I do not know how to get it out.
    ghloch

    Plugin Support Aert Hulsebos

    (@aahulsebos)

    Hi @ghloch,

    I think @ccile had the most straightforward answer for this, adding

    remove_action( ‘wp_head’, ‘wp_resource_hints’, 2 );

    in functions.php

    regards Aert

    ghloch

    (@ghloch)

    Hi Aert,

    yes, but I forgot to mention that I already tried it and it didn’t work. No effect.
    ghloch

    Plugin Support Aert Hulsebos

    (@aahulsebos)

    Hi @ghloch,

    Seeing you’re using Autoptimize, maybe refer to this thread about the issue in relation with Autoptimize: https://wordpress.org/support/topic/remove-google-fonts-does-not-remove-preconnect-to-https-fonts-gstatic-com/

    hope this helps,

    regards Aert

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.