Skip to content

Data, BI & AI Consultant

Language PL EN
Krzysztof Surowiecki
    • 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 resources hub Guides, FAQ and tools for data management. AI in e-commerce course Learning materials for practical AI work in commerce. Marketing data resources hub GA4, ads, CRM and commerce data in one reporting architecture.
      Google Analytics 4 encyclopedia Web analytics FAQ
      Analytics tips Analytics blog
      BI tools comparison Marketing warehouse checklist
      Data governance guide Data governance FAQ Data Governance course for SMEs
      ChatGPT Ads hub AI e-commerce course glossary E-commerce Profitability Academy
      Quick links Consent Mode & CMP FAQ Server-side tagging FAQ Consent Mode Basic vs Advanced
    • 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 Google Ads + EC checklist GTM configuration checklist Server-side tagging checklist
      GA4 events encyclopedia GA4 event taxonomy planner Measurement stack selector Attribution simulator BigQuery cost calculator
      Marketing warehouse checklist BI platform catalog BI platform comparison BI platform selector Tableau vs Power BI vs Looker HubSpot and GA4 in e-commerce
      Governance platform catalog Governance platform comparison Governance platform selector Data governance checklist
      AI models catalogue AI models comparison AI model selector Prompt creator AI ROI calculator
      ROAS and ROI calculator LTV calculator Margin and pricing calculator Sales funnel calculator Campaign link creator Data layer generator
      Quick links Web analytics catalog Server-side catalog CMP platform catalog Session replay catalog Consent Mode selector Consent Mode generator
    • Analytics consulting

      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 Google Analytics 4 migration Data quality monitoring Analytics subscription Server-side tagging Piwik PRO implementation
      Management reports BigQuery for marketing Power BI dashboards Looker Studio reports Tableau visualisations Salesforce CRM Analytics
      AI implementation IT law and compliance
      Training Mentoring
      Quick links Google Analytics 4 migration Power BI dashboards Management reports Analytics subscription IT law and compliance
    • Analytics products

      Courses and spreadsheets for self-paced work. One-time payment.

      View the whole shop →

      Shop by format

      Courses Lessons, exercises and course materials 2 Workbooks Files ready for your own data 4

      All products

      E-commerce Profitability Academy 119 EUR → Data Governance for SMEs 349 PLN → Margin Calculator PRO 35 USD → Campaign Calculator PRO 1.2 35 USD → GA4 Post-Audit Repair Pack 15 USD → AI Content Transparency Pack 39 EUR →
  • 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.

Data analytics 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

© 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.