Skip to content
Email and newsletters

Gmail traffic: visits from links opened in Gmail

3 min read · Updated · By the Reveata team

Short answerReveata counts a visit as Gmail when the referrer is mail.google.com, inbox.google.com or the Gmail Android app (com.google.android.gm), or the link is tagged utm_source=gmail. Those visits land in the Email channel unless a utm_medium says otherwise.

When someone clicks a link in an email they read in Gmail, the visit may arrive with a Gmail address as its referrer. Reveata recognises those addresses and files the visit under Gmail in the Email channel. That is useful for one-to-one mail, but it is also the most common reason a newsletter is counted in the wrong place.

Recognised addresses and tags

Recognised as Gmail Value
Referrer domains mail.google.com, inbox.google.com, com.google.android.gm
utm_source / ?ref= alias gmail

com.google.android.gm is not a website. It is the Gmail Android app's package name, which arrives as an android-app://com.google.android.gm referrer. Reveata accepts android-app:// referrers alongside http and https ones and keeps the package name as the host. inbox.google.com was the address of Inbox by Gmail, which Google closed in 2019.

Gmail is checked before Google search, so mail.google.com is never mistaken for a Google search click.

Why your newsletter shows up as Gmail

Reveata only uses the referrer when a link is not tagged. An untagged link in your newsletter, read in Gmail on the web, is classified by its referrer: source Gmail, channel Email. Your newsletter then splits across Gmail, Outlook, other mail apps and Direct, and never appears as one row.

Tag every link in newsletters and campaigns:

text
https://example.com/launch?utm_source=weekly&utm_medium=newsletter&utm_campaign=issue-42

With that tag, the visit goes to the Newsletter channel with the source weekly, whatever mail app it was opened in. The Gmail referrer is still stored and visible in the Referrer tab, but it no longer decides the source.

When Gmail clicks look like Direct

Gmail also runs as an iPhone and iPad app, and people read mail in desktop clients connected to Gmail accounts. A link opened from a native app often has no referring web page, so nothing is sent. The browser's referrer policy can also trim or remove a referrer on the web: the default sends only the origin, and nothing from HTTPS to HTTP (MDN: Referrer-Policy (opens in a new tab)). Untagged, those visits are Direct. This is another reason to tag every email link.

Using utm_source=gmail

gmail as a tag value makes sense when you send personal outreach from a Gmail account and want to see whether it leads to sales:

text
https://example.com/demo?utm_source=gmail&utm_medium=email&utm_campaign=founder-outreach
Tag Channel
utm_source=gmail (no medium) Email
utm_source=gmail&utm_medium=email Email
utm_source=gmail&utm_medium=newsletter Newsletter

The medium is checked before the source, so newsletter wins. See UTM tags, ?ref and ad click ids.

Revenue from email opened in Gmail

  1. Connect payments (Connect a payment provider).
  2. In the Sources card, click Email, switch to Referrer, and sort by Revenue. Rows such as mail.google.com and com.google.android.gm are Gmail.
  3. For campaigns, use the Campaign tab instead: it shows utm_campaign values whatever mail app was used.
bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "dimension=source" \
  --data-urlencode "metrics=visitors,revenue,conversion_rate" \
  --data-urlencode "period=last_90d" \
  --data-urlencode 'filters=[{"dimension":"channel","operator":"is","values":["email"]}]'

Frequently asked questions

Is Gmail traffic the same as email marketing traffic?

No. The Gmail source only says the click came from Gmail. Whether it was a newsletter, a receipt or a personal message is unknown unless the link is tagged. Tag your mail and read the Campaign tab instead.

Why is mail.google.com not counted as Google search?

Google search is matched by a pattern for google. followed by a country ending, which mail.google.com does not fit. Gmail's hosts are also checked first, so they are always Email.

Do Gmail clicks count as Direct sometimes?

Yes. Links opened from apps or with the referrer removed have no source to read, so they are Direct unless the link carries a tag.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
Traffic sourceEmail traffic: how Reveata counts visits from mailReveata puts a visit in the Email channel when the link is tagged with a utm_medium that mentions email (or is just mail), when it comes from a webmail or mail app it recognises such as Gmail, Outlook or Proton Mail, or when an otherwise unknown utm_source mentions email, unless the signs point to a newsletter.Traffic sourceNewsletter traffic: the channel for issues sent to a listA visit is Newsletter traffic in Reveata when utm_medium contains newsletter, when an email medium comes from a newsletter platform or a utm_source containing newsletter, or when an untagged visit is referred by Substack, beehiiv, Buttondown, Kit, Mailchimp or Ghost.Traffic sourceOutlook traffic: clicks from Outlook on the web and AndroidReveata counts a visit as Outlook when the referrer is outlook.live.com, outlook.office.com, outlook.office365.com or the Outlook Android app (com.microsoft.office.outlook), or the link is tagged utm_source=outlook or hotmail. The visit goes to the Email channel.Traffic sourceSubstack traffic: visits from Substack posts, notes and newslettersReveata counts a visit as Substack when its referrer is substack.com or any publication on a substack.com subdomain, or when the link is tagged utm_source=substack. Those visits go to the Newsletter channel. Publications on their own custom domain are not recognised and count as Referral.Traffic sourcebeehiiv traffic: measure clicks from beehiiv newslettersReveata counts a visit as beehiiv when its referrer is beehiiv.com or a beehiiv.com subdomain, or when the link is tagged utm_source=beehiiv. Those visits go to the Newsletter channel. A beehiiv publication on its own domain is a Referral.Traffic sourceButtondown traffic: visits from Buttondown newsletters and archivesA visit counts as Buttondown when its referrer is buttondown.email or buttondown.com (or a subdomain), or the link is tagged utm_source=buttondown. Reveata puts those visits in the Newsletter channel.