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.

Copy Tracking Script button

  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.Edit Property
  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 you with insights into web visitor behavior. You 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

Purpose: Exempt visitors who have already authenticated from having to provide their email address or domain again in subsequent visits until the access protection period lapses. 

Provider: PathFactory

Expiry: Default 24 hour

Type: HTTP

Provider: PathFactory

Purpose: Stores the visitor cookie consent details including consent status and expiry date details

Expiry: Default 2 years
Type: HTTP

Updated on January 25, 2024

Was this article helpful?

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