Docs menu
Platform Settings · Tracking & Attribution Settings
Passthrough Referrers
Learn what a passthrough referrer is and how to preserve the original traffic source when visitors return from external domains such as payment gateways, SSO providers, or booking engines.
A passthrough referrer is an external domain that your visitors temporarily pass through during a journey — and then return to your site. Instead of treating the return as a brand-new visit, Sealmetrics keeps the original session source intact.
This is the right setting whenever a journey leaves your domain and comes back, for example:
- Payment gateways — Stripe, PayPal, Redsys, or a POS/checkout domain.
- External authentication / SSO — an identity provider or a shared accounts domain.
- Booking and ticketing engines — hotel booking engines, external ticketing, third-party checkout flows.
Without this configuration, when the visitor returns Sealmetrics may detect the external domain as the referrer, count a new entrance, and overwrite the real acquisition source (Google Ads, Facebook, Email…) with Referral or payment.
How a Passthrough Referrer Works
When a passthrough referrer is configured and a visit arrives from that domain:
- If the original session still exists, Sealmetrics treats the hit as a continuation (a pageview) and preserves the session's original UTMs — source, medium, campaign, term, content. The external domain is not counted as a new source.
- If no session exists (for example, the visitor's session has expired), Sealmetrics falls back to the UTM values you configured for that passthrough domain so the visit is still attributed sensibly instead of becoming an unknown referral.
This is the same preservation behavior used for payment gateways, applied per account to any external domain you choose.
Relationship to the Session Window
Preservation depends on the original session still being active when the visitor returns:
- 2-hour session window — the origin of the visit stays active for 2 hours, which covers virtually all checkout, login, and booking flows. See Attribution Accuracy.
- If the visitor returns after the session has expired, there is no original session to preserve, so the configured fallback UTMs are used instead.
How to Configure It
Built-in vs. account-specific
There are two layers, and knowing which one covers you saves you from registering domains that are already handled:
- Built-in — Sealmetrics maintains a list of common passthrough domains, chiefly the major payment gateways, that applies to every account with no configuration on your side. This is why most standard checkout flows attribute correctly out of the box.
- Account-specific — everything else: your own PSP, a regional gateway, a booking engine, an SSO provider, a sibling domain in your group. You register these yourself, per account, with the API calls below.
If a domain is showing up as a referral in your reports, it isn't covered by the built-in list — register it for your account.
Register a domain for your account with your API key:
curl -X POST "https://my.sealmetrics.com/api/v1/passthrough-referrers?account_id=YOUR_ACCOUNT_ID" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"domain": "checkout.stripe.com",
"utm_source": "stripe",
"service_name": "Stripe Checkout"
}'domainis the external domain to exclude (protocol is stripped automatically).utm_source(required) and the optionalutm_medium/utm_campaignfields are the fallback UTMs applied when no original session exists.service_nameis an optional human-readable label.
All management is done through the API — list, create, update, deactivate (is_active: false), and delete. See the Passthrough Referrers API reference for every endpoint and example. Creating or modifying entries requires editor-or-higher (write) permissions.
Add only the external domains that visitors legitimately pass through — payment, auth, or booking domains. Do not add your own domains.
When to Use Which Guide
This page is the canonical reference for the passthrough referrer concept. Two related guides cover specific scenarios that use the same configuration:
- Bypass POS or Referrer — step-by-step for excluding payment gateway / POS domains.
- Preserve Attribution Through External Login or SSO Flows — step-by-step for excluding external authentication / SSO domains.
If you are mapping a known referrer domain to a custom source/medium (rather than preserving the original session), see Referrer Mappings instead.
Result
With the passthrough referrer configured:
- The session keeps its original acquisition source when the visitor returns
- Conversions on the thank-you / post-flow page inherit the real channel (SEO, Paid, Email…)
- No more conversions miscategorized as Referral or payment from a domain the visitor merely passed through