By default the system applies all defined Google Analytics tags to every link in your content. However, you can override this behavior by inserting Google Analytics tags into the template. The ability to override and apply tags appears in versions v11.10.0 and newer.
When using Google Analytics outside of platform, a URL must be built out manually to include the Google Analytics parameters. Google Analytics integration provides Template Tags to include each parameter within your tracking URLs. By default all tags are applied to all URLs in the deployed content.
These tags include:
NOTE: Tags are not case sensitive. You may use upper or lower case (e.g. %%UTM_SOURCE%%) if you prefer.
A manually created URL may appear as:
To autofill your URLs in Templates and Articles based on the parameters defined in your Account or Campaign settings, use the Template Tags within the URL as follows:
The previous example uses the tag_name=tag_value approach (e.g. utm_source=%%UTM_SOURCE%%). Alternately, you may use the following format instead:
When the campaign is deployed, each Template Tag is replaced with the Google Analytics value defined in your Account or Campaign settings.
Using Specific Tags Only
Template Tags allow you to limit which URLs are converted to use Google Analytics, and which specific tags are placed on the URLs. For example, if you may only wish to use the Source, Medium, and Campaign in one URL:
This allows you flexibility in reporting within the Google Analytics interface.