Home | Web Tracking | Adding the ClickDimensions Tracking Script to a Wix Website

Adding the ClickDimensions Tracking Script to a Wix Website

Having trouble adding the ClickDimensions tracking script to your Wix site? Or have you added the script but your page titles are showing up as blank? Read on for a step-by-step guide to adding the ClickDimensions tracking script and custom page titles.

Step One: Set up your domain record. We need to make sure we have a domain record set up for the domain we are tracking before we begin. Be sure to follow the setup instructions as outlined here. When you are done, you will have a domain record that looks like this:

Step Two: Locate your tracking script. Your tracking script is unique to your environment, so be sure to copy the right script for the environment you want to gather data in. To find your tracking script, navigate to Settings > ClickDimensions Settings > Tracking Script:

In this example, we are going to add the main tracking script. If you are adding additional scripts, be sure to place them above the main tracking script in your Wix editor. Copy the main tracking script:

You will want to make sure that the setDomain value matches your domain record to ensure your web analytics are tracked correctly in ClickDimensions.

Step Three: We’re now going to add an HTML block on the Wix page you wish to track. Open your site manager and click the Add button:

At the bottom of the list of options, select More. A list of additional options will appear. Select the HTML option.

Step Four: Move your HTML section to the bottom of the page before the footer:

Step Five: Paste the script into the code editor:

When you have pasted the code, click the Update button.

Step Six: Save your work and publish the changes:

You should now start seeing your page views come in for your Wix page. However, you may notice that your page titles are blank:

We can add some extra code to the code editor in Wix to add custom page titles:

To add a custom title to your page, change the text in between the <title> tags. When done, be sure to save and publish. Your page views will now start to look like this:

Happy Marketing!

2017-12-18T10:16:34+00:00 By |Web Tracking|0 Comments

About the Author:

Emma D'Arcy is a ClickDimensions Product Consultant.

Leave A Comment