Campaign naming workspace
UTM and PK Link Creator
Build consistent campaign URLs for GA4 and Piwik PRO, validate required fields and copy the finished link in one step.
What are UTM and PK parameters?
UTM and PK parameters are tags added to URLs that let you track traffic sources in analytics tools.
Usage example:
You send a newsletter with a link to a new product. Without UTM/PK parameters you only see "email traffic". With parameters you can distinguish:
- Which campaign: "Spring Newsletter 2026" vs "Sale Newsletter"
- Which link in the email: "CTA button" vs "Footer link"
- Which product: "Sports shoes" vs "Winter jackets"
Result: you distinguish campaigns and link variants in reports. Conversion measurement also requires properly configured key events and consents.
Google Analytics (UTM)
utm_source- source (e.g. facebook)utm_medium- medium (e.g. cpc)utm_campaign- nazwa kampaniiutm_source_platform- traffic-directing platformutm_term- keywordutm_content- wariant reklamyutm_creative_format- creative format (currently not reported in GA4)utm_marketing_tactic- marketing tactic (currently not reported in GA4)
Piwik PRO (PK)
pk_campaign- nazwa kampaniipk_source- sourcepk_medium- mediumpk_keyword- keywordpk_content- wariant reklamy
Piwik PRO also recognizes utm_* equivalents, so you do not need toduplicate parameters just because you use both tools.
How to use the UTM creator?
Generated link
How to use the PK creator?
Generated link
Consider plain UTM first: Piwik PRO recognizes utm_* parameters without duplicating them as pk_*. Use this mode only when your convention, integration or data consumer explicitly requires both sets. The generator will save identical values in both sets.
Generated link (UTM + PK)
Saved link history is stored locally in your browser (localStorage). Datais not sent to the server.
No saved links. Use the "Save to history" button after generating a link.
Guide to UTM and PK parameters
Learn best practices for creating tracking links for marketing campaigns.
UTM parameters (Google Analytics)
| Parameter | Required | Description | Example |
|---|---|---|---|
utm_source |
YES | Traffic source — where traffic comes from | google, facebook, newsletter |
utm_medium |
YES | Marketing medium — channel type | cpc, email, social, organic |
utm_campaign |
YES | Campaign name | spring_sale, black_friday |
utm_source_platform |
NO | Platform responsible for traffic direction or campaign management | search_ads_360, dv360 |
utm_term |
NO | Keywords (paid ads) | running+shoes, analytics |
utm_content |
NO | Ad/link variant (A/B tests) | banner_top, cta_button |
utm_id |
NO | Campaign ID (cost import) | camp_12345 |
utm_creative_format |
NO | Creative format; official parameter, currently not reported in GA4 | display, native, video |
utm_marketing_tactic |
NO | Targeting tactic; official parameter, currently not reported in GA4 | remarketing, prospecting |
PK parameters (Piwik PRO)
| Parameter | Required | Description | Example |
|---|---|---|---|
pk_campaign |
YES | Campaign name | promocja_wiosna |
pk_source |
NO | Traffic source | facebook, google |
pk_medium |
NO | Medium marketingowe | cpc, email, banner |
pk_keyword |
NO | Keywords | buty+sportowe |
pk_content |
NO | Ad variant | banner_v2 |
pk_cid |
NO | Unique campaign ID; Piwik PRO can also pass gclid in this dimension | camp_abc123 |
Piwik PRO also recognizes utm_campaign, utm_source, utm_medium, utm_term, utm_content and utm_id by default. Values are case-sensitive and can be up to 1024 characters.
Best practices
- Use lowercase:
facebookinstead ofFacebook— avoids duplicates in reports - Pick a separator:
spring_saleorspring-saleinstead of mixing formats; spaces are URL-encoded but inconsistency splits reports - Be consistent: Create a naming convention and stick to it
- Diacritics are allowed: they will be URL-encoded, but plain ASCII is often easier in integrations and exports
- Do not tag internal links: UTM/PK are for links from external campaigns; using them on-site can overwrite acquisition source
- Google Ads: with a linked account use auto-tagging; do not remove click IDs and add manual UTM only per a deliberate convention
- Document campaigns: Keep a spreadsheet of parameters used
Standard medium values
cpc
Paid ads (cost per click)
organic
Organic results
email
Email campaigns
social
Social media (organic)
paid_social
Paid social campaigns
referral
Links from other sites
display
Display ads
affiliate
Affiliate marketing
video
Video ads
Sources and methodology
- Google Analytics: URL builders and campaign parameters
- Google Analytics: campaigns and traffic sources
- Piwik PRO: URL builder and default campaign parameters
- Piwik PRO: recognized parameters and configuration
Content, interface and validation are original editorial work based on primary documentation. Links are generated locally in your browser. Last verified: June 23, 2026.