DEV Community

Play Button Pause Button
Cheuk Ting Ho 🐍
Cheuk Ting Ho 🐍

Posted on

Web Surgery - Ep.3 - Web tracking and cookie consensus banner

Today I added a GDPR compliance web tracking to my website. If you are using another tracking service (e.g. Google Analytics) that use cookies, I will also show you how to add a banner to get visitors' consensus.

Web tracking service that I use: Fathom Analytics

This site to download the cookie consent banner:

I got the JavaScript for clearing all cookies from this Stackoverflow thread

Top comments (0)