whitecube / laravel-cookie-consent

Register, configure and ask for cookies consent in a EU-compliant way
MIT License
312 stars 37 forks source link

Cookie not generated after consent is given #30

Closed SnipsMine closed 6 months ago

SnipsMine commented 7 months ago

When I load a page on my website I get the popup for cookie consent. But when you click on any accept button no actual cookie is generated. But the strange part is if you select analytics the google analytics code is generated. So the code seems to be doing something.

It does seem to work on localhost, but not when deployed

SnipsMine commented 7 months ago

Running the commands: 'php artisan config:clear' and 'php artisan view:clear'. Seems to have fixed the issue