The Pathmonk Code Snippet needs to be installed within your website in order to run. At a high level, the steps are:

  1. Install the snippet on your website.
    • For manual setup in website: Add the snippet as instructed to the footer.
    • For Google Tag Manager: Add a new tag & trigger.
    • For Wordpress: Install the official Pathmonk Plugin.
  2. Confirm Pathmonk is live.

Install the Code Snippet

If you are not experienced with code or do not have access to your website, you may need to request the assistance of a Pathmonk developer for this step. In order to install the Code Snippet, you can either follow one of our platform-specific guides, or you can manually install the Code Snippet.

Installation Guides
Option 1:
Manual Installation
Option 2:
Google Tag Manager
Option 3:

Option 1: Manually Installing the Code Snippet

  1. Copy the code snippet from your onboarding email or your Pathmonk hub dashboard. 
  2. Copy and paste the Code Snippet into your website as instructed in the next step.
  3. Place the <script> code snippet in the <footer> of your web page's HTML output, preferably as close to the closing </body> tag as possible.
  4. Check the Hub and your website to verify the installation.

Option 2: Installing the Code Snippet with Google Tag Manager

  1. Copy the code snippet from your onboarding email or your Pathmonk hub dashboard.
  2. Open Google Tag Manager.
  3. In Tag Manager: Click on the Account where you want to setup Pathmonk.
  4. In Tag Manager: Click on Add a new a tag
  5. In Tag Manager: Name the Untitled Tag to Pathmonk
  6. In Tag Manager: Click on Tag Configuration and choose the tag type: Custom HTML
  7. In Tag Manager: Paste the Pathmonk Code Snippet into the HTML section
  8. In Tag Manager: Now click on Triggering and choose a trigger All Pages. (All Pages is usually the best option. You can control within Pathmonk if you want to hide Pathmonk on certain pages).
  9. In Tag Manager: Optionally, you can set an Exception if you don't want to show Pathmonk for example on certain subdomains
  10. In Tag Manager: To save the tag & trigger combination click Save
  11. In Tag Manager: To get the Pathmonk live on your website now click Submit (top right screen) in your Tag Manager home screen followed by Publish. Once you publish the Tag, Pathmonk will be live on your website

Option 3: Installing the Code Snippet with Wordpress

  1. Look at the code snippet from your onboarding email or your Pathmonk hub dashboard.
  2. Copy your Pathmonk client id. You find the client id at the end of your code snippet. It's a string of text & numbers for example looking like "tDFtrj4KrUyfh6mtGHYpsjh8J".
  3. In Wordpress plugin section: Search for "Pathmonk" as a plugin
  4. In Wordpress plugin section: Download & Activate the Pathmonk Plugin
  5. In Pathmonk plugin section: Paste your client id & save. Pathmonk will be live on your website.

Still Having Trouble Installing?

You can verify the installation manually by checking the Hub or by creating a support ticket so we can help you.