Skip to main content
UTM Parameters Best Practices
Anushka Patil avatar
Written by Anushka Patil
Updated over 7 months ago

Introduction

UTM (Urchin Tracking Module) parameters are tags that can be added to landing page URLs so that when a link within an Ad is clicked, this information is visible to Google Analytics. Fospha ingests this data from Google Analytics, allowing the platform to:

  • Correctly identify and group marketing activity

  • Provide accurate reporting down to campaign-level granularity

  • Accurately match impressions and cost datasets that are used to inform the Fospha Attribution model to the correct visit data

Why are UTM Parameters important?

Clean and consistent UTM parameters are a key requirement for accurate reporting within Fospha Analytics. Please ensure your digital marketing agency are familiar with these requirements and apply these parameters across all new campaigns and ads

❗ For best results, it is advisable that clients struggling with measurement implement the recommended UTM parameters across all paid marketing channels. This adopted UTM structure must be maintained across any new Ads created going forwards.

UTMs Best Practice

  • Where possible use the dynamic parameters provided by each ad platform - this will save a lot of time during implementation! Dynamic parameters are macros that typically start and end with { } and automatically return a value specific to the ad that was clicked on.

Pay close attention to these because there are subtle differences between ad platforms

  • Consider the hierarchy of your UTMs, the medium should be consistent with the top-level channel groupings required for reporting, e.g. Paid Social which then splits into Facebook and Snapchat at the source level:

Fospha Analytics Marketing Hierarchy

Relevant UTM Name

Example UTM Value

Channel Group

utm_medium

paidsocial

Source

utm_source

facebook

Campaign

utm_campaign

{{Campaign.name}}

Ad Group/Set

utm_content

{{adSet.ID}}

Keyword/Ad

utm_term

{{ad.id}}

  • UTM parameters are separated from the base URL path by a ? symbol

  • Parameters are written in ‘name=value’ form, e.g. utm_source=pinterest

  • Each UTM parameter must be separated by a & symbol

  • Avoid the use of special characters, for example '&' symbols within campaign names as this will incorrectly split the recorded campaign name by falsely indicating the start of a new parameter

  • The order of UTM parameters does not matter and will not impact tracking

  • Avoid the use of spaces, ' ' within landing URLs

  • When hard coding UTMs apply URL encoding if using any special chars

Efficient UTM Examples

Inefficient UTM

Efficient UTM

Recommendation

pinterest_homeware

UK_AL_PI_PRO_Mother_Day

A clean UTM that includes all information required to match the click back to the data we download from the Pinterest API – location, language, platform, audience, time.

UK_EN_FB_PRO_SUMMER+SALE

UK_EN_FB_PRO_SUMMER_SALE_PRE_LAUNCH_LAL

Leaving space in the middle will add + in the middle impacting matching of UTM.

UK_EN_FB_PRO_SUMMER_Sale

UK_EN_FB_PRO_SUMMERSALE_LAUNCH

Facebook_summersale_22

UK_EN_FB_PRO_SUMMER_SALE_PRE_LAUNCH_LAL

UTM that keeps changing will also impact matching and needs to be kept consistent.

UK_EN_FB_PRO_SUMMER_Sale

UK_EN_FB_PRO_SUMMER_SALE_PRE_LAUNCH_LAL

The UTM needs to also have consistent formatting across the board.

Campaign Naming Conventions

Within Fospha Analytics there is the functionality segment by the Objective & Strategy of your marketing campaigns. In order to enable this we must be able to identify clear and consistent naming conventions within your campaign names.

The following table provides an example of these, please share any alternative naming conventions that are currently in use at your company when you onboard to Fospha. The essential requirement here is that a unique identifier is available in each campaign type.

For specific information on Objective, Strategy and naming conventions, read more here.

Campaign Objective

Campaign Objective

Campaign Name Contains (Example)

Conversion incl. Catalogue

“Conversion”

Consideration i.e. Traffic & Video

“Traffic”

Awareness i.e. brand

“Brand”

Campaign Strategy

Campaign Strategy

Campaign Name Contains (Example)

Prospecting

“_PRO“

Retargeting

“_RET“

Remarketing/Retention

“_REM“

Fospha Recommended UTM Parameters

The following section details the recommended UTMs across each of your paid marketing channels.

❗ UTMs in bold in this section are essential for Fospha Analytics to provide accurate reporting.

Other UTMs are included as guidelines and therefore can be amended in some circumstances. For example, while we recommend use of utm_medium=paidsocial for Meta activity, if you currently use utm_medium=cpc in order to avoid disturbing existing GA reporting, you can maintain this naming convention. However please inform Fospha where this is the case.

If you have any questions, are concerned about impact to your existing reporting or do not know how to implement UTM parameters please reach out to the Fospha Team through the help centre available through help button in the bottom right.

The remainder of this document guides you through UTM parameter best practice and Fospha’s recommended UTMs for each marketing channel:

Meta

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

facebook

utm_campaign

{{campaign.name}}

utm_content

{{adset.id}}

utm_term

{{ad.id}}

Details of Meta’s supported dynamic parameters can be found here

Example Meta landing URL:

Google Ads

Following the release of iOS17, Google Ads GCLIDs are stripped from any Safari incognito browsing sessions, so it is recommended to implement both auto-tagging and UTM parameters on your Google Ads activity.

GCLIDs (Google Click Identifiers) enable Fospha to complete a lookup to the Google Ads API and decode the information within this ID to return the relevant Campaign Name, Keyword etc.

Please ensure that the ‘auto-tagging’ setting is enabled within all Google Ads accounts to enable GCLIDs, and then also implement the following UTM tracking template:

UTM Name

UTM Value

utm_medium

cpc

utm_source

google

utm_campaign

{campaignid}

utm_content

{adgroupid}

utm_term

{keyword}

Please note - you also need to add {lpurl} before your initial ? for Google Ads UTM tracking. You can read more about Google's UTM parameters here.

Example Google landing URL:

Bing Ads

Please enable Bing’s default auto-tagging to provide the following UTM parameter structure. You do not also then need to add manual UTMs to your Bing activity:

UTM Name

UTM Value

utm_medium

cpc

utm_source

bing

utm_campaign

{CampaignName}

utm_content

-

utm_term

{Keyword}

Example Bing landing URL:

Pinterest

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

pinterest

utm_campaign

{campaignname}

utm_content

{adgroupid}

utm_term

{adid}

Details of Pinterest’s supported dynamic parameters can be found here

Example Pinterest landing URL:

Snapchat

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

snapchat

utm_campaign

{{campaign.name}}

utm_content

{{adSet.id}}

utm_term

{{ad.id}}

Details of Snapchat’s supported dynamic parameters can be found here

Example Snapchat landing URL:

Tiktok

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

tiktok

utm_campaign

__CAMPAIGN_NAME__

utm_content

__AID__

utm_term

__CID__

Details of Tiktok’s supported dynamic parameters can be found here

Example Tiktok landing URL:

❗ TikTok macros are all double-underlined at the beginning and end, and the middle is single underlined: ‘__xxx_xxx__’.

AWIN

UTM Name

UTM Value

utm_medium

affiliate

utm_source

awin

utm_campaign

partner name

utm_content

partner ID

utm_term

-

Please speak to your AWIN account manager to apply the above UTMs.

Example AWIN landing URL:

See below additional information on UTM guidelines for ad platform connectors for our Enterprise product, not yet available for Attribution Pro customers:

Reddit

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

reddit

utm_campaign

{{CAMPAIGN_ID}}

utm_content

{{ADGROUP_ID}}

utm_term

{{AD_ID}}

Details of Reddit’s supported dynamic parameters can be found here

Example Reddit landing URL:

Twitter

UTM Name

UTM Value

utm_medium

paidsocial

utm_source

twitter

utm_campaign

Campaign Name*

utm_content

Ad Set ID*

utm_term

Ad ID*

*Twitter do not provide dynamic UTM parameter macros, therefore please hard code across all Twitter ADs

Example Twitter landing URL:

DV360

UTM Name

UTM Value

utm_medium

display

utm_source

dV360

utm_campaign

${CAMPAIGN_ID}

utm_content

${INSERTION_ORDER_ID}

utm_term

${CREATIVE_ID}

Details of DV360's supported dynamic parameters can be found here

Example DV360 landing URL:

CM360

UTM Name

UTM Value

utm_medium

display

utm_source

<>

utm_campaign

%ebuy!

utm_content

%epid!

utm_term

%eaid!

Details of CM360's supported dynamic parameters can be found here

Example CM360 landing URL:

The Trade Desk

UTM Name

UTM Value

utm_medium

display

utm_source

ttd

utm_campaign

%%TTD_CAMPAIGNID%%

utm_content

%%TTD_ADGROUPID%%

utm_term

%%TTD_CREATIVEID%%

Example TTD landing URL:

Criteo

UTM Name

UTM Value

utm_medium

display

utm_source

dcm

utm_campaign

{campaignid}

utm_content

-

utm_term

{bannerid}

Example Criteo landing URL:

Rakuten

UTM Name

UTM Value

utm_medium

affiliate

utm_source

rakuten

utm_campaign

partner name

utm_content

partner ID

utm_term

-

Please speak to your Rakuten account manager to apply the above UTMs.

Example Rakuten landing URL:

Impact Radius

UTM Name

UTM Value

utm_medium

affiliate

utm_source

impact

utm_campaign

{irmpname}

utm_content

{irpid}

utm_term

-

Please speak to your Impact Radius account manager to apply the above UTMs.

Example Impact Radius landing URL:

Partnerize

UTM Name

UTM Value

utm_medium

affiliate

utm_source

partnerize

utm_campaign

partner name

utm_content

__PUBID__

utm_term

-

Please speak to your Partnerize account manager to apply the above UTMs.

Example Partnerize landing URL:

Yahoo Native

UTM Name

UTM Value

utm_medium

native

utm_source

yahoo

utm_campaign

{campaignid}

utm_content

{adgroupid}

utm_term

{adid}

Details of Yahoo’s supported supported dynamic parameters can be found here.

Example Yahoo landing URL:

Outbrain

UTM Name

UTM Value

utm_medium

display

utm_source

outbrain

utm_campaign

{{campaign_name}}

utm_content

{{publisher_id}}

utm_term

{{ad_id}}

Details of Outbrain’s supported supported dynamic parameters can be found here.

Example Outbrain landing URL:

Did this answer your question?