Connecting PathFactory and your Website

Summary

Website Promoters are a great way to guide visitors from your website into your Content Tracks.

These promoters display directly on top of your webpages, and once a visitor clicks on a promoter the Content Track opens in a new tab.

Note
This article is about Website Promoters. If you are looking for information on embedding a Content Track within one of your webpages, check out this article.

Below is an example of the Bottom Bar promoter on the PathFactory website.
image

Adding Website Promoters to your website requires the following steps:

  1. Add code from PathFactory to your website’s HTML.
  2. Add your website’s URL to your PathFactory platform.
  3. Add and configure promoters to appear on your website.

Step 1: Add Website Script Tag to your Site

  1. Select Website from the left hand menu.
    imageWebsite icon

  2. Click Website Script Tag to see the code.
    imageWebsite Script Tag link

  3. Copy the Jukebox.js Website Script Tag.
    Note
    The Jukebox.js Website Script Tag can be copied and pasted onto any website of yours that you would like to have PathFactory Website Promoters enabled on. Jukebox.js is a small script tag that will communicate with PathFactory and retrieve any configurations you have for that page. It also allows PathFactory to support enhanced analytics around the performance of your Website Promoters and track where your traffic is coming from.

    imageExample of a Website Script Tag

  4. Go to your HTML editor for the specific page you want to have Website Promoters available on. You have to ensure that the script is placed between the and tags.
    imageHTML Editor

Warning
If you’ve implemented Cookie Consent, you will need to ask visitors for cookie consent on any webpage with website promoters.
Add the following function to your webpage’s JavaScript: cookieResponse(true|false)
Click here for more information on PathFactory’s Cookie Consent feature.

Step 2: Add Website URL to PathFactory

  1. Select Website from the left hand menu.
    imageWebsite icon

  2. Click Add Website URL.
    imageAdd Website URL button

  3. Enter the URL of the website you want a Website Promoter on and click Save Website URL.

    Note: You can have the same web promoter appear on multiple pages

    Scenario 1:
    You want the same promoters to appear on every page of your website.

    Solution:
    When adding your website’s URL to your PathFactory platform, enter the homepage URL followed by an asterisk.

    Example:
    If your website’s homepage was www.example.com, you would enter the URL as www.example.com*


    Scenario 2:
    You want the same promoters to appear on every page of your website except the homepage.

    Solution:
    When adding your website’s URL to your PathFactory platform, enter the homepage URL followed by a forward slash and an asterisk.

    Example:
    If your website’s homepage was www.example.com, you would enter the URL as www.example.com/*

    imageSave Website URL button

  4. The webpage URL will then be added to the list.
    imageExample of webpage URL


Step 3: Add and Configure Website Promoters

You are now ready to select and configure your website promoters!
Click through to the next article to learn how to set up your website promoters.

Views: 29

Updated on July 26, 2023

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