How to: Set up Attribution (Tracking)

This article covers how you can add trackable parameters to an Experience campaign URL which then allows you to track the channelmedium and source a user clicked-through from in order to reach the campaign.

This information is used to generate certain Insights reports within your Experience and is also stored against each entry your Experience receives. You can use this data to determine where each user clicked-through from and for attribution.

Before you begin, your Experience must be published with a SmartURL or iFrame embed code.

 

Adding parameters to an Experience platform SmartURL

When an Experience is published to a Microsite

  1. Open your published Experience in the platform.
  2. Navigate to Publishing.
  3. Click on the relevant Publish To destination link (Beginning https://ngx.me/ or https://way.in/ ) to copy to the clipboard.
    Screenshot_2019-09-24_at_17.49.22.png
    Paste this into a text editor.
  4. Add the required parameters in the following format to the end of the smartURL in your text editor. (Parameters can be omitted if not required).

Usage Examples

EU based display link

Example: https://xd.wayin.com/display/container/dc/######/details?channel=social&medium=sponsor&source=facebook

US based display link

Example: https://us-d.wayin.com/display/container/dc/###/details?channel=social&medium=sponsor&source=facebook

Smart URLs

Examples:
- https://ngx.me/###?channel=website&medium=direct&source=facebook
- https://way.in/###?channel=website&medium=direct&source=facebook

The # (Hash) marks represent a unique short-code identifier, which you need to replace with the actual short-code generated for your campaign.

 

Hardcode parameters to an Advanced iFrame

  1. Open your published Experience in the platform.
  2. Navigate to Publishing.
  3. Click settings on the required web embed publishing destination, then click Advanced.
  4. Copy the advanced embed code into a text editor.
  5. Add the required parameters to the end of the src URL in the following format in your text editor (Parameters can be omitted if not required).

Examples

Examples:
- <script src="https://xd.wayin.com/ui/ngx.embed.min.js"></script>
- <iframe src="https://xd.wayin.com/display/container/dc/###?mode=###&source=mywebsite" frameborder="0" scrolling="no" width="###" height="###" id="ngxFrame###" allowTransparency="true"></iframe>

The # (Hash) marks represent a specific value unique to your published Experience link and settings, which you need to replace with the value in the embed code.

 

Parameter Format

The parameters Channel and Medium only accept the defined values exactly as shown below.
The Source value can be a user-defined value in the format (a-z, 0-9).

Parameter Fixed Value Description Parameter Description
channel search Search engines A channel is a source of traffic.
social Social networks
website Website
adnetwork Ad network
email Email list
offline Offline
medium email Email The general category of the source. For example, an email campaign (email), cost-per-click paid search (cpc) or web referral (referral).
display Display Advertising (CPM)
cpc Cost per click (PPC)
cpa Cost per action
referral Referral marketing
sponsor Sponsorship
print Print
broadcast Broadcast
direct Direct traffic
content Content
post Post
share Share
invite Invitiation
promotion Promotion
nba Next Best Action
source User-defined value (lower case) The origin of your traffic, such as a search engine (for example, google) or a domain (example.com).