URL tracking

Automatically add analytics tracking variables to links in your campaigns

If you are tracking click-through behaviour in a third-party tool such as Google Analytics, you need to add various tracking parameters to your URLs to be able to identify the source in your analytics tool.

Rather than add these parameters manually every time, you can set them to be automatically added in Settings > Channels > URL Tracking.

Enable URL tracking per channel

Select which channels you wish to apply the URL parameters. Every time an end-user receives a message over the channels you have selected, the URL parameters will be automatically added to the destination URL.

Click Save to confirm.

URL parameters

Standard UTM parameters

Toggle the slider to enable the standard UTM parameters to be added to all campaigns.

Tag name

Value

Description

utm_source

xtremepush

utm_medium

{{ message.channel }}

Dynamic content that generates the channel the message was sent over

utm_campaign

{{ campaign.name }} (xtremepush #{{ campaign.id }})

Dynamic content that generates the campaign name, and the campaign ID

utm_term

notification #{{ trigger.id }}_{{ device.id }}

Dynamic content that generates the trigger ID and the device ID of the recipient

utm_content

{{ message.variant }}

Dynamic content that generates the A/B version of the campaign that the recipient received

Custom tracking

You can also define custom tracking parameters by toggling the Custom tracking slider. Click Add parameter and fill in the tag name and value.

You can add plain text as the values, or use one of our dynamic content fields:

Dynamic token

{{user.profile_id}}

{{user.id}}

{{user.external_id}}

{{user.email}}

{{user.mobile_number}}

{{user.whatsapp_number}}

{{campaign.id}}

{{campaign.name}}

{{message.create_time}}

{{message.expiration_time}}

{{message.language}}

{{message.variant}}

{{message.channel}}

Updated 5 months ago


URL tracking


Automatically add analytics tracking variables to links in your campaigns

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.