• Resolved ianfaulkner

    (@ianfaulkner)


    Hi. I have been trying to resolve this all day; can’t find a solution online either. I have the Complianz plug-in. I did try an AMP plug-in, but deleted it and can’t see any ‘residue’. In the Cookie Policy on my desktop I see the appropriate tick-boxes in section 7.1. In iOS and Android I see the text “You have loaded the Cookie Policy without JavaScript support. On AMP, you can use the manage consent button on the bottom of the page.”

    I have checked that javascript support is enable.

    Any ideas?

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ianfaulkner

    (@ianfaulkner)

    And I solved it myself soon after posting (as is often the way)!

    It was because I had set Complianz to “Respect Do Not Track and Global Privacy Control”.

    I was only seeing the tick-boxes in section 7.1 when logged in to WordPress. When I logged out I got the same message as on the mobile devices, namely “You have loaded the Cookie Policy without JavaScript support.” However, when I tried in Chrome I got a different message in 7.1 – “We have received a privacy signal from your browser. For this reason we have set your privacy settings on this website to strictly necessary. If you want to have full functionality, please consider excluding https://kenyachildrencentres.com from your privacy settings.”

    That gave the clue.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ianfaulkner,

    Glad to hear you’ve managed to resolve this so quickly, additional thanks for sharing the solution with the community as well.

    If any further questions about Complianz arise, please feel free to reach out once more.

    Kind regards, Jarno

    Thread Starter ianfaulkner

    (@ianfaulkner)

    Sadly, problem has recurred, on Safari, Chrome, MacOS, iOS and Android. All now show the “You have loaded the Cookie Policy without JavaScript support.” text irrespective of the “Respect Do Not Track and Global Privacy Control” setting


    Javascript console shows an error:

    “Uncaught SyntaxError: Unextepted token ‘<‘, ‘<!DOCTYPE ‘ . . .is not valid JSON
    at JSON.parse (<anonymous>)
    at c.onload (complaint.min.js:1:36067″

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ianfaulkner,

    Do you happen to have a plugin or security tool enabled that limits access to the WordPress REST API?

    Because when I visit your Site URL with /wp-json/ appended I am being redirected to the homepage, instead of receiving the response that I would expect to see.

    Kind regards, Jarno

    Thread Starter ianfaulkner

    (@ianfaulkner)

    Hi Jarnovos. Thanks for the quick response. I use HideMyWP. Try it now.

    The correct section 7.1 now appears, so incompatibility?

    Ian

    • This reply was modified 1 year, 8 months ago by ianfaulkner.
    • This reply was modified 1 year, 8 months ago by ianfaulkner.
    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ianfaulkner,

    That’s it. The REST API now works correctly again, and the Manage Consent section on your Cookie Policy is also able to load correctly as a result.

    Kind regards, Jarno

    Thread Starter ianfaulkner

    (@ianfaulkner)

    Does that mean I will have to ditch HideMyWP?

    Ian

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ianfaulkner,

    That shouldn’t be necessary, it’s probably related to one specific feature in that plugin.

    I’ve taken a quick look at the feature set of that plugin and I would expect it to be related to one of these features:

    “Change REST API wp-json URL” or “Disable REST API access”

    Kind regards, Jarno

    Thread Starter ianfaulkner

    (@ianfaulkner)

    Hi @jarnovos ,

    Disabling the “Disable REST API access” switch in HideMyWP does the trick.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Loaded Cookie Policy without Javascript support – AMP’ is closed to new replies.