You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable cookies, you can see 3 cookies being set,
If you then disable cookies, and check, you can see one GA cookie still exists.
I have tried debugging, it seems to get deleted straight after deleteCookies is run, but then seems to somehow get enabled again when the page refreshes after clicking submit.
The text was updated successfully, but these errors were encountered:
jamessan85
changed the title
Google Anlaytic cookies not being removed.
Google Analytic cookies not being removed.
Dec 7, 2023
If anyone else has this issue, you can workaround it by adding NHSCookieConsent.setStatistics(NHSCookieConsent.getStatistics()); into the onload function.
Some Google Analytic cookies are not being removed, or GA is doing something funky.
For example if you go here. https://www.cliftoncourtmedicalpractice.nhs.uk/information/our-policies/cookie-policy/choose-which-cookies-we-use/
Enable cookies, you can see 3 cookies being set,
If you then disable cookies, and check, you can see one GA cookie still exists.
I have tried debugging, it seems to get deleted straight after deleteCookies is run, but then seems to somehow get enabled again when the page refreshes after clicking submit.
The text was updated successfully, but these errors were encountered: