Tarvent · internal

Link Tagger

Build a tagged link so it reports in the weekly analytics digest. post_key carries which content; utm_source and utm_medium carry which platform. An untagged link cannot be attributed after the fact.

Build a link

Values are forced to lowercase as you type. GA4 stores them exactly as sent, so LinkedIn and linkedin would otherwise become two rows splitting the same credit.

Anything outside this list lands in GA4's Unassigned bucket.
Your own identifier, read by GTM rather than GA4.
Only to tell two links in the same effort apart.
Tagged URL

Where each medium lands

GA4's default channel grouping matches these exact lowercase strings. The channel column is what appears in the digest's traffic report.

utm_mediumGA4 channelUse it for
socialOrganic SocialUnpaid LinkedIn, Reddit, X and Facebook posts and comments
dmUnassignedOne-to-one chats and DMs. No channel by design — the point is separating conversations from broadcast posts.
paid-socialPaid SocialPromoted posts and social ad units
emailEmailNewsletters and campaigns, including ones sent from Tarvent
cpcPaid SearchGoogle and Bing ads
referralReferralDirectory listings, review sites, podcast show notes
affiliateAffiliatesPartner and reseller links
displayDisplayBanner and retargeting placements
qrUnassignedPrint and events

Five rules

  1. 1

    Lowercase, always

    GA4 does not normalise case, so Reddit and reddit become two rows that split one effort's credit. Mixed-case history cannot be cleaned up afterwards.

  2. 2

    Hyphens, never spaces or underscores

    A space becomes %20 and reads as a different value from the one intended. Underscores work but fragment against hyphenated siblings, so this tool picks hyphens.

  3. 3

    Never tag an internal link

    A UTM on a link between Tarvent pages starts a fresh session and overwrites the real source, so someone who arrived from Reddit is recorded as arriving from your own nav. Tag only links that live somewhere else.

  4. 4

    One post_key per piece of content, across every channel

    The agency guide keeps agency-guide-2026 whether the link sits in a LinkedIn post, a DM or a conference slide. Source and medium already say where it ran, so reusing the key is what lets the digest add those placements back up.

  5. 5

    Tag DMs too

    A link pasted into a chat arrives with no referrer and lands in direct traffic, indistinguishable from someone typing the URL. Tagging is the only way one-to-one outreach ever shows up as itself.