Microlens logo Microlens

Track where visitors come from

The Top Referrers card shows where each visit came from. It works automatically, and you can tag the links you share to make it more accurate.

Automatic
When someone clicks a link to your site from Google, Reddit, X and other sites, Microlens groups the visit under that source. Each visit is counted once, on the page it starts on. Clicks between your own pages are not counted as a source.
Tag your links
Apps, emails and some browsers hide where a visitor came from, so those visits show as Direct/None. Add ?ref= to the links you share and Microlens will use it instead.
<!-- examples -->
https://yoursite.com/?ref=producthunt
https://yoursite.com/pricing?utm_source=newsletter
Link ends with Shows as
?ref=reddit Reddit
?utm_source=Reddit Reddit
?ref=reddit.com Reddit
?utm_source=twitter X
?ref=hn Hacker News
?ref=newsletter newsletter
Good to know
  • Microlens reads utm_source, ref or source, in that order, so you can keep the tags you already use.
  • Well-known sites are grouped automatically, whatever the capitalization: reddit, Reddit and a link from reddit.com all show as Reddit.
  • For your own names, use the same spelling every time. newsletter and news-letter show as two separate rows.
  • A tag wins over the referrer. A ?ref=newsletter link posted on Reddit shows as newsletter.
  • Only the source tag is read from the URL. No other query parameters are ever sent to Microlens.
  • Other UTM parameters such as utm_campaign and utm_medium are not shown yet.