URL builder

Use this tool to add Custom Campaign parameters to your URLs.

The URL builder helps you add parameters to URLs you use in Custom Campaigns. When users click one of the custom links, the unique parameters are sent to your Google Analytics account, so you can identify the URLs that are most effective in attracting users to your content.

Using the URL builder

Fill in the form below and click Submit button to create URLs for Custom Campaigns for website tracking.

Use the Google Play URL builder tool for mobile app tracking.

When you enter your URL, you need to escape special characters. For example, if your URL contains a string like topic=1638563&rd=1, you need to escape the ampersand, and enter that portion of the URL like this: topic=1638563&rd=1

 

More information and examples for each parameter

Campaign Source (utm_source)

Required. Use utm_source to identify a search engine, newsletter name, or other source.
Example: utm_source=google

Campaign Medium (utm_medium)

Required. Use utm_medium to identify a medium such as email or cost-per- click.
Example: utm_medium=cpc

Campaign Term (utm_term)

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

Campaign Content (utm_content)

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

Campaign Name (utm_campaign)

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

Related resources

How helpful is this article:

Feedback recorded. Thanks!
  • Not at all helpful
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful