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:
https://example.com/launch?utm_source=weekly&utm_medium=newsletter&utm_campaign=issue-42With 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:
https://example.com/demo?utm_source=gmail&utm_medium=email&utm_campaign=founder-outreach| Tag | Channel |
|---|---|
utm_source=gmail (no medium) |
|
utm_source=gmail&utm_medium=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
- Connect payments (Connect a payment provider).
- In the Sources card, click Email, switch to Referrer, and sort by Revenue. Rows such as
mail.google.comandcom.google.android.gmare Gmail. - For campaigns, use the Campaign tab instead: it shows
utm_campaignvalues whatever mail app was used.
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"]}]'