New: chat buttons, personal links and quote requests are live

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.

  • In Darwin: Integrations → Your website → Google Tag ManagerOpen in Darwin
  • Updated

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.

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.

    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.

    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.

    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.

Help topics