Analytics, cookies and consent

A published site can measure its visitors with Google Analytics or a Google Tag Manager container, and ask for cookie consent first where the law requires it. Everything here is set in the site's Integrations settings and publishes with your next Update and Promote.


#Common tasks

You want to

Go to

Measure visits with Google Analytics 4

Add Google Analytics to a published Confluence site

Ask visitors which cookies to allow

Add a cookie consent banner to a Confluence site

Run tags from a Tag Manager container, with consent

Use Google Tag Manager with a published Confluence site

See which integration waits for which consent

Integrations and cookie consent

Find out why a widget or tag does not run

Chat widget / marketing tag / third-party script does not run on the published site


#Guides in this section



Measure what you need. Ask first when you must.