Installing the Pathmonk SDK Snippet

Modified on Mon, 7 Oct at 2:17 PM

Begin your Pathmonk setup by installing the SDK snippet 


The Pathmonk SDK 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 SDK 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 SDK snippet, you can either follow one of our platform-specific guides, or you can manually install the SDK snippet.


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


Option 1: Manually Installing the SDK Snippet

  1. Copy the SDK snippet from your Pathmonk hub dashboard
  2. Place the <script> SDK snippet in the <footer> of your web page's HTML output, preferably as close to the closing </body> tag as possible
  3. Publish the changes to the live website
  4. Check the Hub and your website to verify the installation 
    *Note: the Dashboard view will automatically update and display a confirmation message when the connection to the website has been established.  This can take a few minutes after the snippet is added to the website and changes are published.


Option 2: Installing the SDK Snippet with Google Tag Manager

  1. Copy the SDK 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 SDK 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


< WATCH VIDEO HERE>


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 at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article