Ga naar inhoud
Begin met HitKeep Cloud

UTM Campaign Tracking in HitKeep

Deze inhoud is nog niet vertaald.

You run paid ads, newsletters, and social campaigns across multiple channels and need to attribute traffic correctly. HitKeep automatically captures all five standard UTM parameters from incoming requests — no plugin, no configuration, no extra code required.

Parameter Example What it tracks
utm_source google, newsletter Where the traffic came from
utm_medium cpc, email The marketing channel
utm_campaign spring-launch The specific campaign name
utm_content hero-cta, sidebar-link Which ad or link was clicked
utm_term web analytics The paid keyword

UTM parameters are read from the ? query string of the page URL sent with each hit. The hk.js snippet automatically forwards the full URL including query string when a user lands on your site.

For single-page applications, the tracker also keeps the initial UTM values in JavaScript memory for the current page runtime. That preserves campaign attribution across client-side route changes without writing UTM values to cookies, localStorage, IndexedDB, or a persistent retry queue.

No configuration is needed. UTM capture is active by default.

https://your-site.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=spring-launch

HitKeep stores each parameter on the hit record and makes them available in the UTM view of the dashboard.

Use stable lowercase values where possible. For example, prefer newsletter over a mix of Newsletter, email-newsletter, and mailing_list. HitKeep reports the values it receives, so naming discipline makes campaign comparison cleaner.

Channel Source Medium Campaign
Google Ads google cpc spring-launch
Newsletter newsletter email product-update
LinkedIn organic linkedin social founder-post
Partner link partner-name referral integration-launch
QR code flyer print qr conference-2026

Traffic tagged with UTM parameters appears in the UTM section of your dashboard, broken down by source, medium, campaign, content, and term.

UTM analytics dashboard showing traffic breakdown by source, medium, and campaign

Combine with Goals to measure which campaigns drive conversions, not just clicks.

For campaign reporting, pair the UTM dashboard with:

HitKeep includes a UTM link builder directly in the dashboard — no need for external tools. Navigate to UTM → UTM Builder to generate tagged campaign URLs.

HitKeep UTM link builder with fields for website URL, campaign source, medium, campaign name, term, and content

The builder:

  • Pre-fills the website URL from any of your tracked sites
  • Generates the tagged URL in real time as you type
  • Copies the final URL to your clipboard with one click
  1. Open UTM → UTM Builder and fill in your campaign details.
  2. Copy the generated URL and use it in your ad, email, or social post.
  3. Traffic will appear in the UTM tab, broken down by source, medium, and campaign.
  4. Combine with Goals to measure which campaigns drive conversions.

UTM data is included in the raw hits endpoint:

Terminal window
curl "https://your-hitkeep.example/api/sites/{site_id}/hits?from=2025-01-01T00:00:00Z&to=2025-01-31T23:59:59Z" \
-b "hk_token=YOUR_SESSION_COOKIE"

Each hit record includes utm_source, utm_medium, utm_campaign, utm_content, and utm_term fields when present.

Running multiple brands or ad accounts? HitKeep Cloud → offers multi-site management with unified UTM reporting.