1. Home
  2. Modules
  3. Website Tools
  4. Adding Website Tools’/Jukebox Tracking Script to Your Website

Adding Website Tools’/Jukebox Tracking Script to Your Website

PathFactory’s Website Tools tracks visitor data through a tracking script, enabling detailed content analysis and insights to enhance your website’s performance and visitor engagement. Here’s why you should use it:

  • Understand Visitor Journeys: Gain visibility into how visitors navigate your website, highlighting trends, popular pathways, and areas for improvement.
  • AI-Powered Personalization: PathFactory AI uses visitor data to identify topics of interest and tailor personalized sales campaigns through PathFactory for Revenue Intelligence (PFRI).
  • Actionable Analytics: Access detailed insights to refine your website strategy and drive meaningful engagement with your audience.

Adding Website Tools to a website gives you the data you need to make informed decisions and deliver a more personalized and effective online experience.


About the Tracking Script

The PathFactory tracking script, also called the Jukebox script, is essential for using Website Tools. Adding this script to your website allows PathFactory to track visitor behavior, analyze how your content performs, and provide AI-driven recommendations. It’s the first step in enabling these powerful capabilities.

What the Tracking Script Does

  • Tracks Visitor Journeys: Captures data on how users interact with your site, such as the pages they visit, their navigation paths, and time spent on each page.
  • Enables Content Insights: Analyzes visitor activity to identify trends and opportunities to improve your content strategy.
  • Supports Personalization: Provides the foundation for delivering tailored content and generating account-specific topics of interest.

Key Features of the Script

  • Compressed and Fast: Delivered via gzip, it minimizes file size and ensures quick loading times.
  • Asynchronous and Non-Blocking: Runs independently of your website’s content, so it won’t slow down your pages.
  • Secure Integration: Designed with robust security measures to prevent code injection attacks by escaping or encoding all injected values.

Setting Up the Tracking Script for Visitor Insights

By integrating this script into a website, you will be able to track visitor behavior and ensure that your content strategy is data-driven. Follow these steps below.

  1. Navigate to Website Tools.

    Website Tools menu item
    Website Tools menu item

     

  2. Click Copy Tracking Script in the top-right corner to open the tracking script menu.

    Copy Tracking Script button
    Copy Tracking Script button
  3. The Tracking Script menu opens. Select Copy HTML to copy the script to your clipboard.
  4. Open the website to which you want to add the tracking.
  5. Open your website’s content management system (CMS) or HTML editor.
  6. Paste the script into the <head> section of every webpage you want to track.

Important Notes:

  • If your site has a strict Content Security Policy (CSP), ensure script-src permissions include cdn-app.pathfactory.com or *.pathfactory.com.
  • If you use Google Tag Manager, configure the script to trigger only on the main domain or domains intended for content analysis or Website Tools. Avoid triggering it for subdomains hosting PathFactory content.

Adding a Website to PathFactory

To start tracking visitor behavior and analyzing content performance, you’ll need to add your website to PathFactory.

  1. Navigate to Website Tools.
  2. Select + Add Property. The Add Property dialog appears.

    Add Property button
    Add Property button
  3. Enter information in the fields provided.

    Add Property menu
    Add Property menu

Your domain will now appear as a card in PathFactory’s dashboard, and content analysis data will begin to populate.

 


PathFactory Cookies Deployed by the Tracking Script

The tracking script deploys several cookies to enable Website Journey Tracking and deliver content intelligence. These cookies provide insights into visitor behavior and help with content personalization. Read their descriptions below.

Cookie Name Purpose Expiry Type
vid Tracks visitor behavior, such as pages visited and time spent, to provide actionable insights for targeting. 24 months HTTP
pf_id_{{DOMAIN HASH}} Identifies users, tracks activity, and records visit timestamps. 24 months HTTP
pf_ses_{{DOMAIN HASH}} Identifies whether a user is in an active session or if a new session starts. 30 minutes HTTP
_pf_access_protection_id Exempts authenticated visitors from re-entering their credentials during the access protection period. 24 hours HTTP
_pf_consent Stores visitor cookie consent details, including status and expiry. 2 years HTTP

What to Expect After Adding Website Tools

Once set up, PathFactory’s Website Tools will:

  • Begin tracking visitor behavior, collecting data on how users navigate your website.
  • Provide content analytics, giving you insights into performance and user engagement.
  • Allow PathFactory AI to identify topics of interest for targeted campaigns.

To find out how to see the Website Tools’ analytics data, refer to the article, How To View Performance Analytics for Your Content Using Website Tools.

By enabling Website Tools and PathFactory AI, you can make data-driven decisions to improve content strategy, personalization, and engagement across your site.

Views: 134

Updated on December 23, 2024

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