Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent load and mobile visibility #472

Open
JFanthorpe opened this issue May 22, 2023 · 0 comments
Open

Intermittent load and mobile visibility #472

JFanthorpe opened this issue May 22, 2023 · 0 comments

Comments

@JFanthorpe
Copy link

JFanthorpe commented May 22, 2023

Hi there,

Have been using Klaro and so far it's been great. I have encountered two issues that so far I've been unable to squash.

BTW: I've followed the instructions to install from MeasureSchool on YouTube.
Though I have since added the klaro.is file and the config as external .js files.

I have tried both deferred and async loading of the files.

  1. Sometimes, when consent is not yet set perhaps every 8th reload, the cookie consent banner fails to load, it appears again at the next refresh.

  2. Despite cleared cache and pop-up blocker turned off, the cookie consent banner fails to appear on mobile devices (no custom media queries present), although the desktop mobile preview in inspector displays the banner just fine.

Any advice would be appreciated.

Thank you for your help.

Update:

issue solved, for anyone facing a similar issue, make sure you’re loading the files in the right order. Deferred loading of klaro-config.js first worked for me.

🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant