Asynchronous snippets

From Market Ruler Help
Revision as of 18:21, 6 October 2011 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ConversionRuler Tracking Snippets are a combination of JavaScript and HTML which track page views on your site and allows you to track visitor actions on your web site.

Enabling Asynchronous snippets adds functionality which makes our script:

  • Load independently of any other scripts on your web page, or
  • Load after all other scripts on your web page have loaded

The only reason to enable this feature is if you:

  • Are concerned about having 3rd party dependencies on your web site which can affect page load times
  • Are concerned about our service having any downtime which would affect your site

The Asynchronous snippets feature adds two attributes to the JavaScript script tag which are supported by most popular browsers, the "async" attribute, and the "defer" attribute. Learn how JavaScript runs on a page and how these attributes affect it.

Drawbacks to Asynchronous Snippets

Enabling this feature may result in less accurate tracking. In short, if you have a sufficiently complex page which takes more than a few seconds to load, and a visitor leaves the page before our tracking snippet has a chance to execute, then that page view will not be tracked.

Enabling Asynchronous Tracking

"Check this box"

To enable asynchronous tracking for a site, check the box at the top of the installation page: the snippets will be updated, and the setting is saved with your site settings. Then install the snippets normally on your site.


See also