Free Google Analytics Campaign URL Builder

Generate campaign URLs for websites and Google Play app installs in the format Google Analytics expects – encoded correctly, with existing parameters preserved.

100% freeNo sign-upRuns in your browserWorks on mobile
The page people should land on. Existing query parameters and #fragments are kept.

What does a campaign URL builder do?

A campaign URL builder turns a normal link into a trackable one by appending campaign parameters. Google’s own tool, the Campaign URL Builder on GA Demos & Tools, offers separate modes for websites and for app stores. This page gives you the two most common modes in one place:

  • Website: adds utm_ parameters to the query string of your landing page.
  • Google Play: builds a Play Store link whose referrer parameter contains the URL-encoded campaign values, so an Android app can read them after install.

Everything happens in your browser; no URL is stored.

How to use it

  1. Choose Website or Google Play app.
  2. For a website, paste the landing page URL. For an app, enter its package name, for example com.example.app.
  3. Enter source, medium and campaign. Add ID, term and content if you need them.
  4. Click Generate campaign URL.
  5. Copy the URL, or – for websites – copy it as a ready-made HTML <a> tag with your own link text for emails and CMS editors.

Why encoding matters

A URL may only contain certain characters. Spaces, ampersands, equals signs and many symbols must be percent-encoded, otherwise the link breaks or the values are cut short. For example, a campaign called Q4 & Black Friday must be written as Q4%20%26%20Black%20Friday; an unencoded & would end the parameter early and GA4 would record only “Q4 ”.

The builder encodes every value with the same rules browsers use (RFC 3986 reserved characters). With the default options it also replaces spaces with underscores and lowercases values, so the campaign above becomes q4_%26_black_friday. If you prefer readable names, avoid symbols entirely: q4_black_friday.

Google Play campaign links

Play Store links do not pass utm_ parameters directly to your app. Instead, the values are wrapped inside a single referrer parameter:

https://play.google.com/store/apps/details?id=com.example.app&referrer=utm_source%3Dnewsletter%26utm_medium%3Demail%26utm_campaign%3Dlaunch

After installation, the app retrieves this string through the Google Play Install Referrer API (the Firebase SDK does this for Google Analytics). If your app does not read the install referrer, the campaign information is lost. Ask your developer to confirm this before you spend budget on install campaigns.

Website example

Inputs: https://example.com/webinar · google · cpc · webinar_signup · term “marketing webinar” · content ad_a

Output: https://example.com/webinar?utm_source=google&utm_medium=cpc&utm_campaign=webinar_signup&utm_term=marketing_webinar&utm_content=ad_a

In GA4 this session appears in the Paid Search channel. Note: if this link is used in Google Ads with auto-tagging on, the gclid data from Google Ads is used for Google Ads traffic; manual tags are better suited to Microsoft Ads and other platforms.

Best practices

  • Use the final URL. Tagging a URL that redirects can lose the parameters – test it with the UTM checker.
  • Keep naming consistent across teams with a shared naming convention.
  • Need dozens of links? Use the bulk UTM link generator and export a CSV.
  • Do not put personal data (email addresses, names, phone numbers) in campaign values. Google Analytics policies prohibit sending personally identifiable information.

Limitations

This tool does not create Apple App Store campaign links, which use Apple’s own provider and campaign tokens rather than UTM parameters. It also cannot confirm that your Google tag or app SDK is installed – it only builds the link.

Frequently asked questions

Is this the same as Google’s Campaign URL Builder?

It follows the same parameter rules and output format for websites and Google Play, but it is an independent tool by AM Digital Marketing Agency with extra checks such as channel prediction and HTML link copy.

Why does the Google Play link have a referrer parameter?

Google Play passes campaign data to the app through the install referrer. The UTM values are encoded inside that single parameter.

Can I keep my existing URL parameters?

Yes. Existing parameters like ?ref=nav are kept, and any UTM parameter you set replaces an older value with the same name.

Should I include personal information in UTM values?

No. Never put names, emails or other personal data in campaign parameters.

Related free tools

Need help with tracking and analytics?

We can set up GA4, Google Tag Manager, UTM governance and reporting for your business.

View Services