Adding your Google Analytics Tracking Code to your Community Template
How to setup Google Analytics for TargetX Online Application
Back to: Obtaining a Google Analytics Tracking Code |
Proceed to Next Step: Configuring Google Tag Manager |
- Ensure that your Sandbox has been refreshed before continuing.
- Login to your Sandbox.
- Navigate to your Community Theme tab.
- Click the Theme Name for the Community you wish to track.
- Make note of the Template Name and store it for later use.
- Navigate to Setup and search for Visualforce Pages.
- Locate the page that was listed as your Template Name.
- Select Edit.
- Scroll to the end of the code and paste your Google Analytics tracking code BEFORE the last </body>:
Note: You must change the beginning of the following line in your Global Site tag from:
<script async src=...
To this:
<script async='async' src=...
-
Save your changes.