Skip to content
DocsIntegrationsGoogle Tag Manager
Integrations

Google Tag Manager

Google Tag Manager Integration

Deploy Conseto via Google Tag Manager. Useful if you already use GTM to manage scripts on your website.

Setup Steps

1
Open Google Tag Manager → Your Container
2
Create a new Tag → Custom HTML
3
Paste the Conseto script code
4
Set trigger to "All Pages" or "Consent Initialization"
5
Publish your container
html
<!-- GTM Custom HTML Tag -->
<script src="https://www.conseto.io/dist/conseto.min.js"></script>
<script>
  Conseto.init({
    clientId: 'YOUR_CLIENT_ID',
    gtm: '{{Container ID}}'
  });
</script>
Documentation — CONSETO | CONSETO