# Install Darwin with Google Tag Manager

Integrations → Google Tag Manager: copy Darwin's site tag, add it as a Custom HTML tag on All Pages, publish the container, and check the installation.

This is the Markdown version of https://www.meetdarwin.ai/help/website-platforms/google-tag-manager, published by Darwin and generated on 23 October 2026.

Find it in Darwin: Integrations → Your website → Google Tag Manager (https://app.meetdarwin.ai/admin/settings/integrations/google-tag-manager). Updated Oct 13, 2026.

If your site already loads a Google Tag Manager web container, add Darwin as one Custom HTML tag. The tag's trigger decides which pages show the chat.

_Screenshot: The Google Tag Manager setup page with step 1 Add the tag to Google Tag Manager, showing the site tag and a Copy tag button, and step 2 Check the installation._

1. **Open Google Tag Manager in Darwin**

   Open **Integrations** and select **Open guide** on the **Google Tag Manager** card, under **Your website**.

   _Screenshot: The Google Tag Manager card on the Integrations screen with its Open guide button highlighted._

2. **Copy the tag**

   Select **Copy tag**. To hand the job to someone else, open **Email instructions to a developer**.

   _Screenshot: Step 1, Add the tag to Google Tag Manager, with the site tag and the Copy tag button highlighted._

3. **Add a Custom HTML tag in Google Tag Manager**

   In your web container, open **Tags → New** and name it **Darwin chat**. Choose **Tag Configuration → Custom HTML** and paste the whole tag, keeping `async`. Under **Triggering**, choose **All Pages**, or a narrower trigger for part of your site, and save.

4. **Preview and publish**

   Select **Preview**, open your site and check that **Darwin chat** fires once. Then select **Submit**, then **Publish**. Saving or previewing alone doesn't publish the tag.

5. **Check the installation**

   Back in Darwin, select **Check installation**. If the tag is on a page other than your front page, enter that page under **Page to check first** before you check.

   _Screenshot: Step 2, Check the installation, with the Check installation button highlighted above the Page to check first field._

## Good to know

- Add your domain under **Agent Studio → Visibility & privacy → Allowed domains** first, or the chat won't run.
- Darwin's check may not see a tag that Tag Manager adds after the page loads. If the check fails, confirm the tag fired in Tag Assistant and open your live site.
- Use one copy of Darwin. If your site builder also has the tag, remove one of them.
- To track chat leads and meetings in GA4, listen for Darwin's `darwin:event` browser event. See [Browser SDK events](https://docs.meetdarwin.ai/api-reference/browser-sdk#listen-without-calling-darwin-darwinevent).

- [The chat isn't showing](https://www.meetdarwin.ai/help/fix-a-problem/chat-not-showing): What to check when the chat doesn't appear.
- [Launch checklist](https://www.meetdarwin.ai/help/before-you-launch/go-live-checklist): Everything to check before you go live.
