Skip to main content

Campaign URL Builder

Use the Campaign URL Builder to easily add campaign parameters to URLs so you can track Custom Campaigns in Google Analytics.

The full website URL (e.g. https://example.com).
The ads campaign id.
The referrer (e.g. google, newsletter).
Marketing medium (e.g. cpc, banner, email)
Product, promo code, or slogan (e.g. spring_sale).
Identify the paid keywords.
Use to differentiate ads.

Copy

More information and examples for each parameter

The following table provides more information about each parameter and examples of how they can be used.

Parameter Required Example Description

Campaign ID

utm_id
No abc.123 Used to identify which ads campaign this referral references. Use utm_id to identify a specific ads campaign.

Campaign Source

utm_source
Yes newsletter Use utm_source to identify a search engine, newsletter name, or other source.

Campaign Medium

utm_medium
Yes cpc Use utm_medium to identify a medium such as email or cost-per-click.

Campaign Name

utm_campaign
No spring_sale Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign.

Campaign Term

utm_term
No running+shoes Used for paid search. Use utm_term to note the keywords for this ad.

Campaign Content

utm_content
No logolink Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL.