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

Step 4: Add the chat to your website

Step 4 of setting up Darwin on your own: allow your domain in Settings → Agent, then add Darwin's site tag to any website, Webflow, WordPress, Framer or Google Tag Manager from Settings → Integrations.

  • In Darwin: Settings → Integrations → Your websiteOpen in Darwin
  • Updated

Darwin's chat runs on your website from one script tag, added once for every page. Pick how your website is built and follow that flow. When Darwin finds the tag on your site, Home ticks off Connect your website.

All of it starts in Settings → Integrations, under Your website. Until the tag is found, Site tag reads Not installed.

Your website in Settings → Integrations: Site tag, Not installed, with Install highlighted, then Webflow, Google Tag Manager, Framer and WordPress.

First, allow your domain

Open Settings → Agent. Under Allowed domains, select Add domain, type your website's address (1) and press Enter or select Add (2). The chat only runs on domains in this list. www.example.com and example.com count as different, and *.example.com covers every subdomain but not example.com itself. Webflow adds its domains for you, so skip this if you use Webflow.

Allowed domains in Settings → Agent with one domain listed and www.example.com being added: the domain field marked 1 and Add marked 2.

Any website

  1. Copy the site tag

    In Settings → Integrations, select Install on Site tag, then Copy tag.

    Add the tag to your site: the script tag with your site key, and the Copy tag button highlighted.
  2. Paste it on every page and publish

    Paste the tag just before </body> on every page, or into your builder's site-wide custom code (often called code injection, or custom code for the footer or body). Add it once, then publish your site.

    Someone else edits your website? Open Email instructions to a developer, enter their email under Send this to your developer and select Email instructions.

  3. Check the installation

    Select Check installation. When Darwin finds the tag, the step shows Verified. If the tag isn't on your website's front page, enter a page that has it under Page to check first before you check.

    Check the installation: the Check installation button highlighted, and the Page to check first field below it.

Webflow

  1. Connect Webflow

    In Settings → Integrations, select Connect on the Webflow card, then Connect Webflow. Choose the sites Darwin can access and approve the permissions.

  2. Add Darwin to a site

    Choose the site and select Add Darwin. Darwin adds its script and your site's domains. Nothing is published yet.

  3. Publish the site

    Select Publish site now. This publishes the site with any other unpublished changes.

  4. Check the installation

    Select Check installation. Darwin confirms when it finds its tag on the live site.

WordPress

  1. Copy the tag

    In Settings → Integrations, select Open guide on the WordPress card, then Copy tag.

    Add the tag to WordPress: the site tag and the Copy tag button highlighted.
  2. Clear the cache

    If a caching plugin, your host or a CDN caches pages, clear it.

  3. Check the installation

    Back on the same page in Darwin, select Check installation.

Framer

  1. Copy the tag

    In Settings → Integrations, select Open guide on the Framer card, then Copy tag.

    Add the tag to Framer: the instructions, the site tag and the Copy tag button highlighted.
  2. Paste it into Framer's custom code

    In Framer, open Site settings → General → Custom code and paste the tag into End of <body> tag, on all pages. If Framer asks how often to run it, choose once.

  3. Publish

    Save and publish the site, then open the published site, not the editor.

  4. Check the installation

    Back on the same page in Darwin, select Check installation.

Google Tag Manager

  1. Copy the tag

    In Settings → Integrations, select Open guide on the Google Tag Manager card, then Copy tag.

    Add the tag to Google Tag Manager: the site tag and the Copy tag button highlighted.
  2. Add a Custom HTML tag

    In your container, open Tags → New, name it Darwin chat, choose Custom HTML and paste the tag. Under Triggering, choose All Pages, then save.

  3. Preview and publish

    Select Preview to check that Darwin chat fires once, then Submit and Publish.

  4. Check the installation

    Back on the same page in Darwin, select Check installation.

Good to know

  • Add the tag once. Two copies can show two chat buttons.
  • The chat stays hidden on your website until you go live in step 5, so installing early is safe.
  • Can't see the chat after going live? See The chat isn't showing.

Help topics