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

Install Darwin with Google Tag Manager

Settings → 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: Settings → Integrations → 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.

Settings → Integrations → Google Tag Manager: step 1, Add the tag to Google Tag Manager, with the site tag and the Copy tag button; step 2, Check the installation.
  1. Open Google Tag Manager in Darwin

    Open Settings → Integrations and select Open guide on Google Tag Manager, under Your website.

    The Google Tag Manager row in Settings → Integrations, 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, enter their email and select Email instructions.

    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 (1). If the tag is on a page other than your front page, enter that page under Page to check first (2) before you check. Its domain has to be one of your allowed domains.

    When Darwin finds the tag, it says Checked just now: the tag is on your site, and Google Tag Manager shows Connected in Settings → Integrations.

    Step 2, Check the installation: the Check installation button marked 1 and the Page to check first field marked 2.

Good to know

  • Add your domain under Allowed domains in Settings → Agent first, or the chat won't run. See Agent settings.
  • 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