1. Home
  2. Modules
  3. Website Tools
  4. Add Website Tools’ tracking script to your website

Add Website Tools’ tracking script to your website

Website Tools delivers powerful content intelligence to provide insight into the journeys visitors take through your webpages.

To get started with Website Tools, you’ll first add a tracking script to your webpages. The tracking script enables Website Journey Tracking, which is a prerequisite for PathFactory’s content analysis and recommendation service.

About the tracking script

The Jukebox tracking script is compressed with gzip, loads asynchronously, and is non-blocking. These factors ensure the script has little to no impact on your site’s page loading times.

PathFactory ensures all externally injected values are properly escaped or encoded to prevent code injection attacks.

Add the PathFactory tracking script to your website

To complete this step, you need access to both the PathFactory platform and your website’s HTML code.

  1. Sign into PathFactory.
  2. Navigate to Website Tools.
  3. In the top right, select Copy Tracking Script. The Tracking Script modal opens.
  4. Select Copy HTML to copy the script to your clipboard.
  5. Switch to your website’s content management system or other editing environment.
  6. Paste the script into the section of every webpage you want to track.

Now it’s time to add your website to PathFactory’s website properties dashboard.

Add your website to PathFactory

It’s time to add your website domain to PathFactory.

  1. Sign into PathFactory.
  2. Navigate to Website Tools.
  3. Select + Add Property. The Add Property dialog appears.
  4. In Domain Name, enter your domain name and select Add Property.

The website you just added now appears as a card.

With your website set up, learn more about content analysis.

Edit your website

You can edit your website after adding it to PathFactory.

  1. Select Website Tools.
  2. For the website you wish to edit, select Manage.
  3. At the top of the screen, beside the website domain, select Edit. The Edit Property dialog appears.
  4. Make your desired changes. When you’re happy, select Save.

PathFactory cookies deployed by the tracking script

The PathFactory tracking script deploys three cookies to enable Website Journey Tracking. We typically advise classifying our cookies under a “Marketing” category.

You can use the following descriptions of each cookie in your cookie consent functionality—i.e. you can deploy the tracking script conditionally, if a user has accepted marketing cookies, or another category you’d like to classify them under.

Provider: PathFactory

Purpose: PathFactory may collect personal information such as your email address or IP if you voluntarily provide it. PathFactory may also collect non-personally identifiable information such as web pages visited and the time spent on each page. The information collected provides YOURCOMPANYNAME with insights into web visitor behavior. YOURCOMPANYNAME can use these insights to target visitors with personalized content based on their behavior, the account they belong to, or the geographic location among other criteria.

The content of the PathFactory vid cookie is limited to a unique alphanumeric ID that corresponds to a single visitor record in the PathFactory database.

Expiry: 24 months

Type: HTTP

Provider: PathFactory

Purpose: Stores user information that is created when a user first visits a site and updated on subsequent visits. It is used to identify a user and track the user’s activity. This cookie stores a unique identifier for each user, a unique identifier for the user’s current session, the number of visits a user has made to the site, the timestamp of the user’s first visit, the timestamp of their previous visit, and the timestamp of their current visit.

Expires: 24 months

Type: HTTP

Provider: PathFactory

Purpose: Used to identify if the user is in an active session on a site or if this is a new session for a user (i.e. cookie doesn’t exist or has expired).

Expiry: 30 minutes

Type: HTTP

Updated on September 19, 2022

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT