And first of all thank you for this plugin! I really appreciate this.
I have an issue with deep linking. Due to the fact that the “Accept”-button calls the baseURI accepting the cookie notice always leads to a page reload.
Thus when opening a deep link on a onepager – hash-link to somewhere down the site – and accepting the cookie notice the page is reloaded an I´m at the top of the page – but not where I wanted to be.
It´s the same when I scrolled down the page, accept at any time then – boom – I´m at the top and have to scroll down again.
Wouldn’t it be possible do the following:
– Click “Accept”
– the cookie for Cookie Notice is set
– the container for cookie notice is set to display:none;
Or some other way to avoid a page reload?
That would be great.
Thank you and kind regards.
Did you check for any JS issues on your site?
Thank you for answering.
I even do not know how to check for JS issues ;)
In the Chrome devtools I found an event listener on the “Accept”-Button.
The URL is http://bnbm.de/de/home – site is Work In Progress.
I use the Cardinal theme, maybe this has something to do with that?
If needed I can give you Admin-access to the page?
Thanks again for your efforts.
Sascha, I don’t see a JS issue at your site. But this must be a JS conflict with one of your site scripts. Can’t tell you which one exactly – there is really a lot of it out there.
All I can tell you is when a button is clicked there definitely should be no page reload action. Maybe there is an event listener for AjaxComplete? Can’t help you more, sorry.
After you register and login to the site, you may post all plugin support questions in the Support Forum.
If you need to provide private info, please create a ticket and then reply to it using Set as private reply option.