MarketingGenerator

UTM Generator

Create consistent campaign tracking URLs with UTM parameters.

Use generator

Generator

UTM Generator

Use generator
Generated URL
–

UTM generator

Generator

Build your campaign URL

Provide a destination and campaign parameters to generate your tagged URL.

The public page this campaign link should open. Existing query parameters and fragments are preserved.

Where the traffic originates, such as google, newsletter, or a partner.

The marketing channel or traffic type, such as cpc, email, or paid-social.

The campaign, promotion, launch, or initiative this link belongs to.

An optional keyword, audience, or targeting identifier.

An optional value that distinguishes ads, links, creatives, or variants.

Values are normalized locally to lowercase, with spaces converted to hyphens.

Your campaign URL

Ready when your parameters are.

Enter a destination URL and the required campaign parameters to generate a tagged URL.

UTM parameters label campaign traffic. They do not independently prove attribution, and redirects, privacy controls, browsers, consent settings, apps, and copied links can affect tracking. Do not include personal or sensitive information.

Methodology details
URL method
Native URL and URLSearchParams
Normalization
Lowercase with hyphenated spaces
Data handling
Entered values stay local
Attribution
Labels traffic; does not prove causation

Dynamic UTM builder

Build a tracking template for your ad platform.

Choose your advertising platform and campaign type. CoreBase will generate a recommended dynamic tracking template using the parameters supported by that platform.

1. Platform
2. Campaign type
3. Tracking detail

Your tracking template

Platform
Google Ads
Campaign type
Search
Tracking detail
Recommended
{lpurl}?utm_source=google&utm_medium=paid&utm_campaign={campaignid}&utm_adgroup={adgroupid}&utm_content={creative}&utm_device={device}
Where to use it

Add this to the campaign URL options / tracking template.

What these parameters mean
{campaignid}
The ID of the campaign that served the ad.
{adgroupid}
The ID of the ad group that served the ad.
{creative}
The unique ID of the ad creative.
{device}
The device category associated with the click.

Generated URL

A tagged URL keeps campaign labels together.

The generator keeps the destination path, existing non-UTM query parameters, and fragment in place. It adds or replaces only the five approved UTM parameters.

Campaign tracking

What are UTM parameters?

UTM parameters are labels appended to a URL. They help describe the source, medium, campaign, and optional context associated with a campaign link.

They are useful only when values are consistent and documented. They label traffic; they do not independently establish the cause of a conversion.

Parameter guide

Use each parameter for one clear purpose.

utm_sourceRequired

Where the traffic originates.

Example
newsletter
Guidance
Use a stable name for each source.
utm_mediumRequired

The marketing channel or traffic type.

Example
email
Guidance
Keep channel definitions distinct from sources.
utm_campaignRequired

The campaign, promotion, launch, or initiative.

Example
august-product-update
Guidance
Make the campaign specific and documented.
utm_termOptional

A keyword, audience, or targeting identifier.

Example
returning-customers
Guidance
Use only when it helps distinguish targeting.
utm_contentOptional

A link, creative, button, or variant identifier.

Example
primary-button
Guidance
Use it to compare meaningful variants.

Worked example

One campaign URL, clearly labelled.

Destination URL
https://example.com/pricing
UTM Source
newsletter
UTM Medium
email
UTM Campaign
august-product-update
UTM Content
primary-button
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=august-product-update&utm_content=primary-button

Naming conventions

Consistency matters more than a universal format.

Use lowercase consistently. Use hyphens or underscores consistently, avoid spaces in final values, and do not change conventions between campaigns without documenting the change.

Make names useful

Avoid vague campaign names. Establish and document a shared campaign taxonomy.

Keep data safe

Do not include unnecessary personal information in URLs or campaign values.

Document conventions

Keep source and medium conventions available to everyone who builds links.

Common mistakes

Small inconsistencies can make reporting harder.

  • Using inconsistent capitalization or different source names for the same platform.
  • Confusing source and medium, or leaving spaces without normalization.
  • Duplicating parameters or overwriting useful existing query parameters.
  • Adding UTM tags to internal links without an approved measurement plan.
  • Including sensitive or personal information in a URL.
  • Relying on UTM parameters as proof of attribution or forgetting that platforms may modify or strip parameters.

Attribution limitation

UTM parameters label traffic; they do not prove causation.

Analytics platforms can attribute sessions differently. Redirects, privacy controls, browsers, consent settings, and apps may affect tracking. A copied or shared link can also change the apparent source. Never include personal or sensitive data in UTM parameters.

Frequently asked questions

UTM Generator FAQ

What is a UTM parameter?

A UTM parameter is a query parameter added to a URL to label campaign traffic. Analytics systems can use the labels when they receive the visit, but the parameters do not independently prove attribution or causation.

What does utm_source mean?

utm_source identifies where traffic originates, such as google, newsletter, instagram, or a named partner. Use one consistent source name for the same origin.

What does utm_medium mean?

utm_medium identifies the marketing channel or traffic type, such as cpc, email, referral, or paid-social. It describes the channel rather than the specific origin.

What does utm_campaign mean?

utm_campaign identifies the campaign, promotion, launch, or initiative associated with the link. A specific, documented name makes campaign reporting easier to interpret.

Are utm_term and utm_content required?

No. utm_term and utm_content are optional in this generator. Use them only when they help distinguish a keyword, audience, link, creative, button, or variant.

Should UTM values use lowercase?

Lowercase values help prevent accidental splits in reports caused by inconsistent capitalization. This generator normalizes UTM values to lowercase, but the destination URL is not treated as a UTM value.

Should I use hyphens or underscores?

Choose a documented convention and apply it consistently. This version turns spaces into hyphens and preserves existing underscores, so values remain readable without spaces.

Can I use UTM parameters on internal links?

Avoid adding campaign UTM tags to internal links unless an approved measurement plan specifically requires them. Internal tags can overwrite or complicate the attribution information an analytics system receives.

Do UTM parameters affect SEO?

UTM parameters are campaign labels, not an SEO improvement. Keep canonicalization and duplicate-content handling consistent with the platform SEO architecture when campaign URLs are publicly discoverable.

Can UTM parameters contain personal data?

No. Do not include personal, sensitive, or identifying information in UTM values. Campaign parameters can be visible in URLs, browser history, logs, referral data, and shared links.

Why do analytics platforms show different campaign results?

Platforms can apply different attribution models, reporting windows, consent rules, identity signals, and session logic. Redirects, browsers, apps, privacy controls, and copied links can also affect what each system records.

What happens if the destination URL already has query parameters?

Existing non-UTM query parameters are preserved. The generator adds its approved UTM parameters alongside them and keeps any URL fragment.

Will this generator replace existing UTM parameters?

Yes. For the five supported UTM parameters, the current form value replaces an existing value so the generated URL does not contain duplicates. Other query parameters remain unchanged.

Can I shorten the generated URL?

URL shortening is not included in this version. If a short link is needed, use an approved separate process and preserve the campaign parameters through the redirect.

Are UTM parameters case-sensitive?

Different analytics systems may handle case differently, and inconsistent case can create separate reporting values. This generator uses lowercase to reduce that avoidable inconsistency.

Sources and methodology

How this generator handles URLs.

This tool uses the browser’s standard URL and URLSearchParams behavior to preserve a valid destination URL while adding or replacing the five approved UTM parameters. Values are normalized locally before the final URL is generated.

Accuracy & trust

Built to be useful. Designed to be checked.

We test and review CoreBase tools, formulas, and information to keep them useful and accurate. Occasional inaccuracies or circumstances specific to your situation can still affect a result, so verify important decisions against your own requirements.

Found something that does not look right? Tell us so we can review and improve it.

View methodology

Accuracy & trust

Report an issue

Describe what needs attention. The report will be sent to the CoreBase team.

Your report is sent securely to core@corebase.tools. We use your email only to follow up about this report.