Difference between revisions of "Asynchronous snippets"
(Created page with '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…') |
|||
Line 13: | Line 13: | ||
== Drawbacks to Asynchronous Snippets == | == 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 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. | ||
− | |||
− | |||
== See also == | == See also == |
Revision as of 07:00, 6 April 2011
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.