Basic Integration

To start using Parse.ly, first install the tracking code on your site. The Parse.ly tracker is a small piece of JavaScript code that monitors user actions and relays them to the Parse.ly analytics servers.

To install, add this tag to all pages you would like to track (replacing ###### with your Parse.ly site id, e.g. mysite.com):

<script id="parsely-cfg" src="//cdn.parsely.com/keys/######/p.js"></script>

Add the tracker either directly to your HTML page templates, or load it via a tag manager (such as Google Tag Manager, Tealium, or Ensighten). We also provide examples of how to load the tracker via JavaScript.

#A note on staging sites and test environments

You should never include the tracker with your primary site id on staging, development, testing, or QA pages. Instead, contact [email protected] to get a test site id to use in those environments.

#Where should I place the tracker?

The Parse.ly tracker must be placed within the <body> of the page (not in the <head> tag).

The ideal place to put the Parse.ly tracker is as the last element before the closing </body> tag. If your website uses a template system, this is usually in the "footer" template.

Ready to get started with Parse.ly?

Questions?

Or

rocket emoji