Wayin Support

How-to: Setup trackable parameters

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.

What to do

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 http://ngx.me/) to copy to the clipboard.
    Capture.PNG
  4. Paste this into a text editor.
  5. 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.

Example(s):

http://ngx.me/######?channel=website&medium=direct&source=facebook
http://ngx.me/######?channel=website&source=facebook
http://ngx.me/######?source=AdNetworkX

The '#' (Hash) marks represent a unique short-code identifier, you will need to replace these 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).

Example(s):

<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 values unique to your published experience link and settings, you will need to replace these with the value in the embed code.

Parameter Format

Only alphanumeric characters (a-z, 0-9) are used in these values.

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