Log inStart free

UTM by network

UTM parameters for GitHub: what to use

For GitHub, use utm_source=github and utm_medium=referral, plus a campaign that names the post, such as utm_campaign=readme. Keep every value in lowercase, with hyphens between words.

Build this linkUpdated

The values to use

  • utm_source: github
  • utm_medium: referral
  • utm_campaign: what the post is about, such as readme
  • utm_content: only if the same post carries two links, to tell them apart
Example link
https://yoursite.com/?utm_source=github&utm_medium=referral&utm_campaign=readme

The short version

If you measure with upTake, one parameter is enough: the ?ut= tag, with the network first and the post after. The script reads it, files the visit, then removes it from the address bar.

Example ?ut= link
https://yoursite.com/?ut=github-readme

Where to put the link on GitHub

  • In your repository's README, on the link to your site or docs.
  • In release notes, on links to the feature's page.
  • In your profile README.

What to watch out for

  • README links bring steady traffic for years: tag them once and you will see it.
  • Tag release-note links with the version, such as ?ut=github-v1-4, to see what each release brought.

Check a tagged link →

Measure it all the way to payments

A tag tells you where a visit came from. With upTake's script on your site and your payment provider connected, each GitHub post's link shows the signups and payments that followed, not only the clicks.

upTake and GitHub →

Questions

Is utm_source=github the same as utm_source=GitHub?

Not in Google Analytics, where values are case sensitive: they become two sources. Pick the lowercase form and keep it.

Do I need a different link for each GitHub post?

Yes, if you want to know which post worked: keep the same source, and change the campaign, or the ?ut= tag, for each post.

Sources

Facts about other services come from their own pages, read on November 18, 2026. They change: follow the links for what they say today.

See which of your posts bring customers

Free plan · No card · 5-minute setup

Create your projectSee a live demo