Skip to main content

All Questions

1 vote
0 answers
985 views

How can I stop deleted Google Analytics Cookies from returning?

so I'm coding a cookie-component for a react-website. And I managed to set the cookies, and also to delete them. But I recognized that whenever I switch to another route, Google Analytics sets a ...
Cioccoluna's user avatar
11 votes
1 answer
9k views

How to handle cookie consent in Next JS?

On my Next JS website I needed to implement Google Analytics (GA) and Facebook Pixel (FP), which I did according to the documentation and is working as far as I can tell. Now, I need to make ...
round_circle's user avatar
13 votes
2 answers
30k views

How to set the Google Analytics cookie only after another consent cookie is set and "true"?

I am using React/Nextjs for my website and the react-cookie-consent library. It creates a pop up where the user can agree to the cookie policy. If agreed, a cookie is set: CookieConsent with value "...
flo's user avatar
  • 671
22 votes
3 answers
14k views

How set up a Gatsby Cookie consent banner with gatsby-plugin-gdpr-cookies

My website gathers information for Google Analytics, so I need to include a Cookie consent banner for the users to opt in/out of. I saw the plugin gatsby-plugin-gdpr-cookies and thought it looked ...
James Brightman's user avatar
1 vote
2 answers
5k views

Trying to figure out how to implement cookies in Gatsby.js and somehow manage them with the new GDPR law

I've tested implemented cookie hub, react-ga, gatsbu plugin-gdpr cookies. Nothing special happends when I configure them, I can't even see any cookies inside devtools. Has anyone come up with how to ...
Mrjoes's user avatar
  • 25