Add Google Tag Manager

Connect Google Tag Manager to your site with its container ID, and manage your other tags from there.

Google Tag Manager loads your other tags from one place. Flipsite adds the container to every page when you publish, and you manage the tags inside Tag Manager.

Find your container ID

Open your container in Tag Manager. The container ID is shown at the top of the workspace, next to the container name. It looks like GTM-XXXXXXX.

Add it to your site

  • 1
    Open Settings → Integrations.
  • 2
    Paste the ID in the Google Tag Manager field.
  • 3
    Publish.

Over MCP, call site_integrations_edit with googleTagManager set to the ID.

Check that it works

The container only loads on the published site, not in the preview. Publish the site, then use Preview in Tag Manager and enter your live address. Tag Manager shows which tags fired.

Tags you add or change in Tag Manager go live when you submit them in Tag Manager. You don't need to publish in Flipsite again.

Avoid counting twice

If you add Google Analytics as a tag in Tag Manager, leave the Google Analytics field in Flipsite empty. Otherwise every visit is counted twice.

Consent and speed

Tag Manager itself sets no analytics data, but the tags it loads usually do, and many use cookies. In the EU, visitors have to consent before those tags run. Every tag adds weight, so check your Lighthouse score after you add them. List the services your tags use in your privacy policy: Add a GDPR-compliant privacy policy.

Read more about creating a Tag Manager container. Using another service? See Add analytics and tracking.

Related articles

Start building with your AI

Free to start. Connect Claude, ChatGPT or Cursor, fine-tune it in the editor, and host it anywhere.

Get started for free
Flipsite

©2026 Flipsite. All rights reserved. Made in the EU 🇪🇺 🇦🇽