I’m currently working on implementing Google Consent Mode V2 and I’m encountering an issue with the cookie banner provided by the TecArt plugin.
Problem: Whenever a user clicks on the cookie banner, the page reloads. This results in two page views being recorded in Google Analytics, which leads to inaccurate data.
Question: How can I prevent the page from reloading after the user clicks on the cookie banner?
Any guidance or suggestions on how to address this issue would be greatly appreciated.
Not enough information. Do you have any JS error when it’s clicked? If not, them most likely (but not necessarily) this behavior is intentional. Is it an anchor tag there?