How do I add URL Parameter tracking to my campaign?
What is UTM Parameter
URL parameter is a way to pass information about a click through its URL. You can insert URL parameters into your URLs so that your URLs track information about a click. URL parameters are made of a key and a value separated by an equals sign (=) and joined by an ampersand (&). These parameters appear in the URL following a question mark. For example, http://yourlandingpage.com?utm_source=mediago&utm_medium=referral
What is URL Parameter Tracking
URL Parameter tracking is one of the most important aspects of a successful campaign because it allows you to review campaign performance on your own reporting platform or Google Analytics. Then you can optimize your campaign accordingly.
How to add Tracking Parameter?
Click Create Ad in the navigation bar to create your campaign. On the bottom of Create Ad Set page, you can enter your tracking code into the Tracking field. Notice
- Tracking url cannot include ?, @, #, /, space and line break.
- When using two dynamic parameters together, always use separators. eg: ${AD_ID}_${AD_TITLE}
Best Practices: UTM tracking
Our recommended tracking code is:
utm_source=mediago&utm_medium=referral&utm_campaign=${CAMPAIGN_NAME}&utm_content=${AD_TITLE}&utm_term=${ASSET_ID}&tracking_id=${TRACKING_ID}
Parameter | Explanation | necessity |
---|---|---|
utm_source=mediago | The traffic source. utm_source is a required parameter for UTM tracking. | required |
utm_medium=referral | The advertising medium. | recommended |
utm_campaign =${CAMPAIGN_NAME} | The campaign name, as defined in the Campaigns tab. | recommended |
utm_content=${AD_TITLE} | The title of the ad. | recommended |
utm_term=${ASSET_ID} | The ad asset ID, corresponding to unique ad creative (URL+image+title) | recommended |
tracking_id=${TRACKING_ID} | The parameter for server-to-server postback tracking. If you are using S2S postback tracking, please keep this parameter in the tracking code. When a user clicks your ad which has set tracking code, MediaGo will provide your server with a tracking id. When a conversion is happened, you need to send back the conversion information by the postback url with the ${TRACKING_ID} value, otherwise your Conversions will not be tracked. | required |
Complete list of MediaGo Compatible Tracking Macros
You can also add macros to your URL parameters, to pass back certain information from MediaGo to your analytics reporting platform.
The macros will be replaced by the actual value when the ad is clicked.
(Note: You can add these macros under any URL parameter you’d like.)
Code | Recommended parameter naming | Details |
---|---|---|
${SOURCE} | utm_source=mediago | The traffic source: mediago |
${AD_ID} | ad_id=${AD_ID} | The unique MediaGo ad id |
${AD_TITLE} | utm_content=${AD_TITLE} | The title of the ad |
${ASSET_ID} | utm_term=${ASSET_ID} | The unique MediaGo id for the ad asset (URL+image+title) |
${AD_ASSET_NAME} | ad_asset_name=${AD_ASSET_NAME} | The original file name of the assets (image or video) |
${CAMPAIGN_ID} | campaign_id=${CAMPAIGN_ID} | The id of campaign |
${CAMPAIGN_NAME} | utm_campaign=${CAMPAIGN_NAME} | The name of campaign |
${TRACKING_ID} | tracking_id=${TRACKING_ID} | The tracking id of the ad |
${BID_TIME_STAMP} | bid_time_stamp=${BID_TIME_STAMP} | The time when the ad returns to the media. Timezone: UTC+8 |
${PLATFORM} | platform=${PLATFORM} | The device of accessing the ad |
${CPC} | cpc=${CPC} | The CPC of the ad |
${PUBLISHER_NAME} | publisher_name=${PUBLISHER_NAME} | The name of the publisher, eg:www.msn.com |
${SITE_ID} | site_id=${SITE_ID} | The id of the site |
${CONTENT_NAME} | content_name=${CONTENT_NAME} | The content category of the page that the ad shows in |