URL builder

Generate custom campaign parameters for your advertising URLs.

The URL builder helps you add parameters to URLs you use in custom web-based or email ad campaigns. A custom campaign is any ad campaign not using the AdWords auto-tagging feature. When users click one of the custom links, the unique parameters are sent to your Analytics account, so you can identify the URLs that are most effective in attracting users to your content.

Want to track mobile app ads? Use the Google Play URL builder tool instead.

In this article:

Use the URL builder

Note for returning users:

The Help Center look and feel has changed to provide a better experience for both web and mobile users. The URL builder form works the same as always!

Step 1: Enter the URL of your website.

Website URL *

http://www.urchin.com/download.html _______________________________________
Example: Using the URL builder

We recommend using the Chrome browser to use the URL builder form.

Fill in the form below and click GENERATE URL to create URLs for Custom Campaigns for website tracking. The form will return a URL you can then copy and paste into your advertising links.

Privacy note: Your data is not seen by Google or used for any purpose other than generating your URL.

Escape special characters

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

URL builder form


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)

Required. Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign.
Example: utm_campaign=spring_sale
Was this article helpful?
Google Analytics training and support resources

Check out our comprehensive list to learn more about Analytics solutions.