The cookie consent banner is the visitor-facing surface that pairs with website analytics – it asks visitors whether they’re okay with the _fontdue_state cookie that links repeat visits, and can hold back – gate – any third-party scripts you’ve wired through it until the visitor agrees. The banner only has work to do when there’s tracking to hold back, but the setting is independent of Enable analytics tracking, so you can also use it purely to control third-party scripts.
The HTML head setting at Settings → Integration is where you’d add those third-party tags; see Gate third-party scripts on consent for the pattern.
Go to Settings → Analytics and check Require cookie consent. This adds a consent banner to the bottom-left corner of your website.11The banner inherits your site’s theme colors and fonts, so it matches your design automatically.
If you want Fontdue to track page views and events, also check Enable analytics tracking. The consent banner works without this – you can use it solely to gate third-party scripts.
Optionally, write a custom consent message. If you leave this blank, the default message is shown: “We use cookies to analyze site usage and improve your experience.”
Click Save. The consent banner is now live on your website. New visitors will see it on their first page load.
What happens when a visitor responds
- Accept all – Analytics cookies are allowed and any gated third-party scripts are activated immediately. If Fontdue tracking is enabled, a persistent anonymous identity is stored so returning visits can be linked.
- Necessary only – No analytics cookies are set. Fontdue can still count page views anonymously (cookieless), but no persistent visitor identity is stored.
The visitor’s choice is remembered for one year. They won’t see the banner again until the consent cookie expires.
Third-party scripts
If you use third-party analytics scripts (like Google Analytics or Meta Pixel), those scripts run regardless of the consent banner by default. You can gate them on consent too – see Gate third-party scripts on consent. This works for scripts in Fontdue’s HTML head setting and for scripts in your own site’s markup.