Install your Pathmonk Code Snippet

Modified on Tue, 12 Mar 2024 at 02:29 PM

Begin your Pathmonk setup by installing the code on your website

The Pathmonk Code Snippet must be installed on your website for micro-experiences to be visible and to gather the data for Pathmonk Intelligence.


The first step to installing the snippet is to choose the best method to fit your website setup.

  • For manual setup on the website, use the Manual Installation instructions
  • For Google Tag Manager, use the Google Tag Manager installation instructions


Installing 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. 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 1: Manually Installing the Code Snippet

  1. Copy the code snippet from 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 Pathmonk CRM 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 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


Note: After clicking Publish, there may be a short delay between submitting the new tag and the connecting showing as complete in your Pathmonk account. 


Still Having Trouble Installing?

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


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article