Difference between revisions of "ATC/Current/AdminGuide/DeployTrackingSnippet"
From Genesys Documentation
m (1 revision imported) |
DannaShirley (talk | contribs) (Published) |
||
Line 1: | Line 1: | ||
{{Article | {{Article | ||
+ | |Standalone=No | ||
|DisplayName=Deploy the tracking snippet | |DisplayName=Deploy the tracking snippet | ||
|Platform=PureEngage, PureConnect, PureCloud | |Platform=PureEngage, PureConnect, PureCloud | ||
Line 25: | Line 26: | ||
|Type=Unstructured | |Type=Unstructured | ||
|freetext=In order to deploy the Altocloud tracking snippet on your website, you will need: | |freetext=In order to deploy the Altocloud tracking snippet on your website, you will need: | ||
− | * Your organization ID | + | * Your organization ID. Use your organization ID v<span>alue to replace ''''YOUR-ORGANIZATION-ID'''' in the '''ac('init')''' function. </span> |
− | * Your organization region. | + | * Your organization region. Look up the '''datacenter''' value in [https://all.docs.genesys.com/ATC/Draft/Developers/Regions Altocloud Regions] and replace ''''YOUR-ORGANIZATION-REGION'''' with the corresponding datacenter in the '''ac('init')''' function. If you do not know which region your organization is in, contact [mailto:customercare@genesys.com customercare@genesys.com] |
}}{{Section | }}{{Section | ||
|sectionHeading=Use a tag management system | |sectionHeading=Use a tag management system | ||
Line 42: | Line 43: | ||
# Copy and paste the code from this article, or go to '''Settings> Account Settings'''. <br /> | # Copy and paste the code from this article, or go to '''Settings> Account Settings'''. <br /> | ||
# On the '''Tracking Code''' tab, copy the code. | # On the '''Tracking Code''' tab, copy the code. | ||
− | # Paste the tracking snippet | + | # Paste the tracking snippet in the element of the website template page before the closing <tt></tt> tag.<br /> |
− | |||
# Supply your organization ID and your Genesys data center. | # Supply your organization ID and your Genesys data center. | ||
− | {{NoteFormat|<br /> | + | {{NoteFormat| |
+ | * Do not load the Altocloud tracking snippet unless the visitor provides consent to be tracked. For an example of how to do this, see {{#mintydocs_link:manual=Developers|topic=GDPRReqs}}.<br /> | ||
* The last argument in the Altocloud tracking snippet is <tt>'ac'</tt>. If your webpage or any third-party JavaScript uses this variable name globally, pass a custom value.<br /> | * The last argument in the Altocloud tracking snippet is <tt>'ac'</tt>. If your webpage or any third-party JavaScript uses this variable name globally, pass a custom value.<br /> | ||
* When you call <tt>`ac`</tt>, the commands after it, such as <tt>init</tt>, <tt>pageview</tt>, and so on, are queued. When the website template file is completely downloaded, the queued commands are executed.|1}} | * When you call <tt>`ac`</tt>, the commands after it, such as <tt>init</tt>, <tt>pageview</tt>, and so on, are queued. When the website template file is completely downloaded, the queued commands are executed.|1}} |
Revision as of 14:40, December 5, 2018
This topic is part of the manual Genesys Predictive Engagement Administrator's Guide for version Current of Genesys Predictive Engagement.
Contents
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.
- Copy and paste the code from this article, or go to Settings> Account Settings.
- On the Tracking Code tab, copy the code.
- Paste the tracking snippet in the element of the website template page before the closing tag.
- Supply your organization ID and your Genesys data center.
Important
- Do not load the Altocloud tracking snippet unless the visitor provides consent to be tracked. For an example of how to do this, see [[ATC/Current/Developers/GDPRReqs|]].
- 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!