How to track signups across domains, from site to app
To track signups across domains, carry the session from your marketing site to your app so the signup keeps its source. GA4 does it with cross-domain measurement and the _gl parameter. Clerion does it on its own for subdomains, and with linkTo for a separate domain.
To track signups across domains, the visit on your marketing site and the signup on your app have to be one session, so the signup keeps the source that brought the visitor. Without that hand-off, a visitor who came from ChatGPT to example.com and signed up on app.example.com shows up as a signup with no source, or with your own site as the referrer.
Add the Clerion script tag to both domains and see which source brings signups
14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.
Why does a signup on my app lose its source?
Most AI products split in two: a marketing site on example.com and the product on app.example.com, or on a separate domain altogether. To the browser these are different origins. MDN describes sessionStorage as partitioned by origin and by tab, so anything one origin stores about the visit is invisible to the other.
The referrer, the campaign tags and the landing page all belong to the first visit. When the visitor clicks Sign up, the app starts fresh. It sees your marketing site as the referrer, or nothing at all, and the source that mattered stays behind.
This matters most for AI-assistant traffic. A visit from ChatGPT, Perplexity or Claude is often one session long: the visitor reads one page, clicks through to sign up, and is done. If that click breaks the session, the assistant never gets credit, and you conclude it sends visitors but not signups.
How do I know if my signups are affected?
Check three things in whatever tool you use today:
- Your own domain as a referrer. If
example.comappears as a top source of signups on the app, the session broke at the hand-off. - Signups with no source. A large Direct or "(not set)" share on the signup event, while the marketing site shows plenty of referral traffic, points the same way.
- Two different shapes. Sources on the marketing site look healthy, and sources on signup look nothing like them.
If your site and app share one origin, for example example.com/app, none of this applies.
How does GA4 handle cross-domain tracking?
Google Analytics calls this cross-domain measurement. Google's help page says that without it, a visitor who moves between root domains gets new cookies with new IDs on each domain, so one person counts as two users and two sessions. With it, the IDs travel in a URL parameter called _gl when the visitor follows a link or submits a form between the domains.
You set it up in Admin, under Data streams, Configure tag settings, Configure your domains, and every domain has to use the same Google tag ID. Google also recommends it for subdomains that use a different cookie domain, because self-referrals can appear otherwise. GA4's model depends on cookies, so it needs consent where consent rules apply. Our guide on whether you need a cookie banner for website analytics covers that side.
How do I track signups across domains with Clerion?
Clerion is website intelligence for AI founders: one script tag that counts your visitors, sources and revenue, including traffic from AI assistants, and writes a short daily briefing from your own data. It carries the session across domains without cookies. The steps below follow Clerion's signups across domains docs.
- Put the snippet on both domains with the same site id. Use the same line on the marketing site and the app. If you want the app's pages kept out of your site traffic, add
data-auto-track="false"to the app's snippet so it sends only the events you name. - Subdomains need nothing else. When a visitor clicks a link from
example.comtoapp.example.com, the snippet adds aclerion_sidparameter to the link, and the snippet on the app continues that session. - A different domain needs
linkTo. If the app lives onexample-app.io, build the link withwindow.clerion.linkTo("https://example-app.io/signup"). It returns the address with the current session attached. - Use
linkTofor anything that is not a click. Redirects, formactiontargets andlocation.hrefnavigation skip the automatic hand-off, even between subdomains. - Send the signup event on the app. Fire it after the signup succeeds, not when the button is pressed:
window.clerion.trackEvent("signup_completed", { plan: "starter" }).
A link built before the tracker has loaded has no session to attach, so set the href once window.clerion exists. The parameter carries a session id only, no personal data. The custom events docs cover the HTML attribute alternative, data-track-event="signup".
What do I see once the session carries across?
On the Custom events page, the signup sent from the app counts under the source of the visit that led to it: chatgpt.com, a newsletter link, a search engine or Direct. Revenue by source reads the same session, so if you also send a payment event with a value, the card Where paying customers came from shows visitors, payers, pay rate and revenue per source. See revenue by source and how to track revenue from ChatGPT traffic.
What are the limits?
| Limit | What it means |
|---|---|
| Same tab | A link opened in a new tab carries the session in its address. Typing the app's address into a new tab starts a fresh session. |
| 30 minutes | A session ends after 30 minutes without activity on either domain. A signup after that has no source. |
| Click only | The automatic subdomain hand-off needs a click. Redirects and script navigation need linkTo. |
| Two-label root | Same site is judged on the last two labels of the hostname, so shop.example.co.uk and example.co.uk need linkTo. |
On the default cookie-free setup, Clerion keeps no identifier between visits. A visitor who reads your site from ChatGPT on Monday and signs up after typing your address on Friday counts under Direct. With Clerion's optional consent banner accepted, a payment is credited to that visitor's first visit in the selected period. Treat assistant signups as a floor, not the whole number.
Where should I start?
Install the snippet on both domains, click from your pricing page to your signup page, and check that the signup event arrives with a source. Clerion's check your installation page covers the first part, and paste this one line shows where the tag goes. For the assistants themselves, see how to track ChatGPT traffic, how to track Claude traffic and what to track as an AI startup.
Clerion sets no cookies by default, needs no consent banner, holds data in the EU and never sells it. You can also add it to Claude as a connector through the MCP server and ask which source brought last week's signups. The model only sees aggregates.
Add the Clerion script tag and see which source brings your signups
14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.
Frequently asked questions
Why does my app show my own website as the top referrer for signups?
The visit on your marketing site and the signup on your app are separate sessions, so the app sees your site as the referrer. Carry the session across the link, with GA4 cross-domain measurement or with Clerion's automatic subdomain hand-off or linkTo.
Do I need cross-domain tracking for app.example.com?
Usually yes. A subdomain is a different origin, so browser storage is not shared. Clerion carries the session to a sibling subdomain on a click without extra code. Google recommends GA4 cross-domain measurement for subdomains that use a different cookie domain.
Does Clerion need cookies to track signups across domains?
No. Clerion adds a session id parameter, clerion_sid, to the link and the snippet on the other domain continues that session. The parameter carries no personal data.
What if my signup page is reached by a redirect?
The automatic hand-off only runs on a click. For redirects, form actions or script navigation, build the address with window.clerion.linkTo so the session goes with it.
Will a signup days after the first visit keep the source?
Not on the default cookie-free setup. A session ends after 30 minutes without activity, and no identifier is kept between visits, so a later signup counts under the source of that later visit.