Difference between revisions of "ATC/Current/AdminGuide/DeployTrackingSnippet"

From Genesys Documentation
Jump to: navigation, search
 
m (1 revision imported)
(No difference)

Revision as of 15:27, November 7, 2018

Deploy the Altocloud tracking snippet to enable visitor tracking on your website.

About the tracking snippet

Prerequisites

Use a tag management system

To easily deploy the tracking snippet, use a tag management system such as Google Tag Manager, Tealium, Adobe, and any others that provide the option to add custom JavaScript code.

Use the Admin UI

The Altocloud Admin UI also provides a way to copy and paste the tracking snippet.

  1. Copy and paste the code from this article, or go to Settings> Account Settings.
  2. On the Tracking Code tab, copy the code.
  3. Paste the tracking snippet at the top of your website template page before the closing tag.
  4. Pass the correct variable from consent gadget to ensure that you do not load the Altocloud tracking snippet unless the visitor provides consent to be tracked.
  5. Supply your organization ID and your Genesys data center.
Important

  • The last argument in the Altocloud tracking snippet is 'ac'. If your webpage or any third-party JavaScript uses this variable name globally, pass a custom value.
  • When you call `ac`, the commands after it, such as init, pageview, and so on, are queued. When the website template file is completely downloaded, the queued commands are executed.
Comments or questions about this documentation? Contact us for support!