Skip to content

Independent Data, BI & AI Consultant

Language PL EN
Krzysztof Surowiecki
    • Services

      Audits, implementation and senior guidance for reliable analytics.

      View all services →
      Google Analytics 4 audit Configuration, data quality and reporting risk review. Google Analytics 4 implementation Measurement, tagging, e-commerce, Consent Mode and BigQuery. Data governance consulting Ownership, data quality and compliance operating model. E-commerce and web analytics Store, campaign and customer journey analytics.
      GA4 measurement plan Data quality monitoring Server-side tagging Piwik PRO implementation
      BigQuery for marketing Looker Studio reports Tableau visualisations Salesforce CRM Analytics
      AI implementation IT law and compliance Analytics subscription
      Training Mentoring
      Quick links Google Analytics audit GA4 implementation Management reports Data governance E-commerce analytics
    • Tools

      Calculators, auditors, comparisons and templates for faster decisions.

      View all tools →
      Google Analytics 4 auditor Quick self-assessment for GA4 configuration and data quality. Consent Mode v2 checklist CMP, consent signals, Google tags and audit readiness. ROAS and ROI calculator Advertising return and campaign profitability. Data governance checklist Governance readiness, data quality and ownership.
      GA4 auditor Microsoft Clarity checklist Consent Mode v2 checklist Consent Mode Basic vs Advanced Google Ads + EC checklist GTM configuration checklist
      GA4 events encyclopedia GA4 event taxonomy planner Measurement stack selector Attribution simulator BigQuery cost calculator
      Marketing data resources hub Marketing warehouse checklist BI platform catalog Tableau vs Power BI vs Looker HubSpot and GA4 in e-commerce
      Governance platform catalog Governance platform comparison Data governance checklist Data governance resources hub
      AI models catalogue AI models comparison AI model selector AI ROI calculator
      ROAS and ROI calculator LTV calculator Margin and pricing calculator Sales funnel calculator Campaign link creator Data layer generator
      Quick links GA4 auditor Consent Mode BI tools comparison Marketing data AI models catalogue Data Governance
    • Knowledge

      Guides, blog, FAQ and learning resources for analytics and AI.

      View all resources →
      Web analytics resource hub GA4, GTM, Consent Mode, Piwik PRO and implementation paths. Data governance guide Governance, quality, processes and responsibilities. AI in e-commerce course Learning materials for practical AI work in commerce. Data governance resources hub Guides, FAQ and tools for data management.
      All resources Analytics blog Web analytics resource hub Google Analytics 4 encyclopedia Web analytics FAQ
      Analytics blog
      Data governance guide Data governance resources hub Data governance FAQ
      AI in e-commerce course AI e-commerce course glossary Calculators and generators
      BI tools comparison Guides and FAQs in Tools
      Quick links Analytics tips Analytics blog Google Analytics 4 Data governance AI e-commerce course
    • Shop

      Downloadable analytics tools: pay once, get the file by email.

      Margin Calculator PRO Excel for ecommerce 35 USD 55 USD -36% Campaign Calculator PRO Excel for ecommerce 35 USD 55 USD -36%
      View the whole shop →
  • About
  • Contact
Search error

The search phrase must be at least 3 characters long or be an abbreviation such as GA4, GTM, BI, AI, SQL or R.

  1. Home
  2. Tools
  3. UTM/PK Link Creator

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.

Parameters verified on June 23, 2026GA4 and Piwik PRO parameters based on official documentation.

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 kampanii
  • utm_source_platform - traffic-directing platform
  • utm_term - keyword
  • utm_content - wariant reklamy
  • utm_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 kampanii
  • pk_source - source
  • pk_medium - medium
  • pk_keyword - keyword
  • pk_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?

1 Enter the destination URL
2 Fill in required fields (source, medium, campaign)
3 Add optional parameters
4 Copy the generated link
Full URL of the page the link should point to
Keywords (mainly for paid ads)
Ad/link variant identifier
Campaign ID (for linking cost data)
Platform managing traffic, budget or targeting
Official parameter, but currently not reported in GA4
Official parameter, but currently not reported in GA4

Generated link

Fill in the fields above to generate a link...

How to use the PK creator?

1 Enter the destination URL
2 Fill in pk_campaign (required)
3 Add optional parameters
4 Copy the generated link
Campaign ID (for external system integration)

Generated link

Fill in the fields above to generate a 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.

→ utm_source, pk_source
→ utm_medium, pk_medium
→ utm_campaign, pk_campaign
→ utm_term, pk_keyword
→ utm_content, pk_content

Generated link (UTM + PK)

Fill in the fields above to generate a link...

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: facebook instead of Facebook — avoids duplicates in reports
  • Pick a separator: spring_sale or spring-sale instead 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.

Independent consultant

Krzysztof Surowiecki

Data Engineering · Analytics · AI

Discuss a project

Site

  • Home
  • Services
  • About
  • Contact
  • Knowledge
  • Tools

Services

  • Management reports
  • GA4 Audit
  • GA4 Implementation
  • Piwik PRO
  • Power BI
  • Data Governance
  • AI Implementation
  • Analytics Subscription
  • Training

Tools

Analytics

GA4 Events Encyclopedia· GA4 Configuration Auditor· Microsoft Clarity Checklist· Consent Mode v2 Checklist· BigQuery Cost Calculator· Consent Mode Basic vs Advanced· CMP Platform Catalog· GA4 Event Taxonomy Planner· GA4 ↔ Piwik PRO Event Mapping· Attribution Simulator· Web Analytics Solutions Catalog· Server-Side Solutions Catalog· GA4 / Piwik / Amplitude Comparison· Tableau vs Power BI vs Looker Studio· UTM / PK Link Creator· dataLayer Generator

Performance

ROAS/ROI Calculator· LTV Calculator· A/B Test Calculator· Margin & Price Calculator· Funnel Calculator· Ads Cost Calculator

AI

AI in E-commerce Course· AI Models (catalog)· AI Models Comparison· AI Model Selector· AI Prompt Creator· AI ROI Calculator

Data Governance

DG Platform Catalog· DG Platform Comparison· DG Platform Selector· Data Governance Checklist· Data Governance Guide· Data Governance Resources· Marketing Data Resources· Data Governance FAQ· Data Governance Services

© 2022-2026 Krzysztof Surowiecki Privacy policy & shop terms · Cookie settings

This site uses cookies

We use cookies to provide the best experience on our site, analyze traffic and personalize content. You can accept all cookies or customize your preferences.

Read our Privacy Policy

Cookie settings

Choose which cookie categories you want to accept. Essential cookies are always active.

Essential

Always active

These cookies are essential for the site to function properly. They cannot be disabled.

Analytics

These cookies allow us to analyze how the website is used to improve its performance and functionality. We use Google Analytics 4.

Marketing

These cookies are used to track visitors on websites. They help display ads that are more relevant to you.