# 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](https://help.gocapable.com/sites/add-google-analytics-to-a-published-confluence-site.html) | | Ask visitors which cookies to allow | [Add a cookie consent banner to a Confluence site](https://help.gocapable.com/sites/add-a-cookie-consent-banner-to-a-confluence-site.html) | | Run tags from a Tag Manager container, with consent | [Use Google Tag Manager with a published Confluence site](https://help.gocapable.com/sites/use-google-tag-manager-with-a-published-confluence-site.html) | | See which integration waits for which consent | [Integrations and cookie consent](https://help.gocapable.com/sites/integrations-and-cookie-consent.html) | | Find out why a widget or tag does not run | [Chat widget / marketing tag / third-party script does not run on the published site](https://help.gocapable.com/sites/chat-widget-marketing-tag-third-party-script-does-not-run-on-the-published-site.html) | --- ## Guides in this section [Add Google Analytics to a published Confluence siteMeasure visits to a published Confluence site with Google Analytics 4 by pasting your measurement ID.](https://help.gocapable.com/sites/add-google-analytics-to-a-published-confluence-site.html)[Add a cookie consent banner to a Confluence siteAsk visitors to your published Confluence site which cookies to allow, by category, before analytics and widgets load.](https://help.gocapable.com/sites/add-a-cookie-consent-banner-to-a-confluence-site.html)[Use Google Tag Manager with a published Confluence siteConnect a Google Tag Manager container to a published Confluence site and let your visitors' cookie choices decide which tags fire.](https://help.gocapable.com/sites/use-google-tag-manager-with-a-published-confluence-site.html) --- ## Related ### [Integrations and cookie consent](https://help.gocapable.com/sites/integrations-and-cookie-consent.html) Categories, consent mode and events. ### [Site settings](https://help.gocapable.com/sites/site-settings.html) Every Integrations setting. ### [Frequently asked questions](https://help.gocapable.com/sites/frequently-asked-questions.html) Quick answers. --- _Measure what you need. Ask first when you must._