Is there any reason cookieconsent doesn't work on localhost? #480
Replies: 4 comments 2 replies
-
Mhm, not really. Are there any errors/warning in console? Please provide a minimal setup example. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue when just opening the html page in the browser. For working properly I needed to use a web server. Otherwise your browser could block the cookie banner, for example brave does this. Then it's recommended to turn of the security features and try again. Or maybe a other browser works. |
Beta Was this translation helpful? Give feedback.
-
there's nothing wrong with the config. Have you tried incognito mode or a different browser? Can you verify that the script is actually executed and that the html markup is generated? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue: no consent modal on localhost and Chrome. But opening it in incognito mode solves the problem. |
Beta Was this translation helpful? Give feedback.
-
I got it working without any problem on the production server but on my local one (https://localhost) it doesn't show up. Any reasons why?
Beta Was this translation helpful? Give feedback.
All reactions