Skip to main content

How to add the Website Visitors script to your website?

Learn how to add your Website Visitors script to popular website platforms

Written by Tania

To start tracking visitors on your website, you need to add the tracking script to your website's header. In this article, we'll show how to add the script to commonly used platforms like WordPress, Shopify, Wix, and others.

Step 1. Copy the tracking script from Reply

First, you need to get the tracking script from Reply.

  1. Go to Execution → Website Visitors.

  2. Click Add new.

  3. Enter your website URL and name. You can also select the lists or sequences where tracked contacts will be added.

  4. Copy your tracking script.


Step 2. Paste the script into your website header

Next, you need to paste the tracking script inside the <head> tag of your website. Below, you'll find instructions for adding the script to the header on popular website platforms.

WordPress

  1. Install and activate the free Insert Headers and Footers by WPCode plugin.

  2. In your WordPress dashboard, go to Code Snippets → Header & Footer.

  3. Paste your Reply tracking script into the Header section.

  4. Click Save changes.

Shopify

  1. Go to Online Store → Themes.

  2. Click the three dots and select Edit code.

  3. Open theme.liquid (under the layout section).

  4. Paste the Reply script before the closing </head> tag.

Note: Some Shopify themes separate the header into different files. If that's the case, check your theme documentation.

Squarespace

  1. Paste the script into the Header section and save.

Wix

  1. Go to Settings → Development & Integrations → Custom Code.

  2. Add a new custom code snippet.

  3. Select Head as the placement and paste your script.

Webflow

  1. Click on Open in Webflow when you hover over your website.

  2. Click Add on the left panel and find Code Embed under the Advanced section.

  3. Paste the script, save, and publish the changes.


Step 3. Verify the status

After adding the script, return to the Website Visitors page in Reply and check the Status column. If everything is set up correctly, the status will show Active.

Did this answer your question?