Capture utm_source=chatgpt.com or the chatgpt.com referrer when a visitor lands, attach their visitor ID (gl_vid) to checkout, and match the signed payment webhook back to the visit. In our Stripe sandbox test, a tagged ChatGPT visit carried into checkout and credited a $9.00 payment ($8.44 net) to chatgpt.com under AI Search.
Key takeaways
- Check for
utm_source=chatgpt.comon landing URLs andchatgpt.comin referrers before any redirect strips query parameters. - GA4 includes an AI Assistant channel, though it only records revenue if you instrument ecommerce
purchaseevents. - Clicks copied without a tag or referrer fall into Direct, so tracked AI revenue represents a minimum baseline.
- Grosslytics groups ChatGPT, Perplexity, Claude, Gemini, and Copilot under AI Search automatically.
How does ChatGPT traffic appear in analytics?
A ChatGPT click arrives in one of three forms, and only the first two carry source metadata:
| Arrival signal | How to spot it | Attribution result |
|---|---|---|
| Tagged link | utm_source=chatgpt.com on landing URL |
Attributed as chatgpt.com (AI Search) |
| Untagged referrer | HTTP referrer chatgpt.com or chat.openai.com |
Attributed as chatgpt.com (AI Search) |
| Copied bare URL | No tag and no referrer header | Reported as Direct |
Make sure your server redirects preserve query strings so utm_source=chatgpt.com reaches the landing page where your analytics script runs.
Can GA4 track ChatGPT revenue without another tool?
Yes, if your site already sends ecommerce purchase events with transaction_id, value, and currency to GA4.
Google’s default channel documentation groups chatgpt.com into the AI Assistant channel (ai-assistant). Google AI Overviews and AI Mode still count under Organic Search.
- Open Reports -> Acquisition -> Traffic acquisition and switch the primary dimension to Session source to isolate
chatgpt.comsessions and Total revenue. - Open a tagged test URL and complete a test checkout while watching DebugView to confirm your
purchaseevent matches Google’s ecommerce setup guide. - Compare Traffic acquisition (session-level) with User acquisition (first user source) per Google’s acquisition report docs.
If you want revenue numbers from signed Stripe, Paddle, or Razorpay webhooks instead of maintaining GA4 ecommerce tags and cookie banners, see GA4 vs Grosslytics.
How do you connect ChatGPT visits to payments?
Here is the four-step setup in Grosslytics (the same visitor-ID handoff applies in any webhook-based revenue tracker):
1. Install the tracker on landing pages.
<script defer src="https://grosslytics.com/g.js"
data-site-id="YOUR_SITE_ID"></script>
Check the installation guide for self-hosted domains and Content Security Policy rules.
2. Verify utm_source=chatgpt.com classification. Open a private window to:
https://your-site.example/?utm_source=chatgpt.com
Grosslytics automatically groups tagged or referred visits from ChatGPT, Perplexity, Claude, Gemini, and Copilot under AI Search.
3. Forward gl_vid into checkout. Grosslytics decorates Stripe Payment Links automatically with client_reference_id (Stripe URL parameter docs). For server-created sessions or other gateways, follow the Stripe attribution guide, Paddle Billing guide, Polar & Dodo guide, or Razorpay guide.
4. Connect signed payment webhooks. Follow the payments reference. If a visit shows under AI Search while its payment stays Unattributed, check that checkout preserved client_reference_id or metadata.visitor_id.
What happened when we tested it?
One tagged visit carried through checkout into a credited Stripe sandbox payment.
We ran this test on November 9, 2026, on a local Grosslytics install in Chrome using Stripe’s sandbox test card. We typed ?utm_source=chatgpt.com into the address bar rather than clicking out of ChatGPT, so this tests the attribution handoff rather than live ChatGPT traffic.
| Stage | Observed result |
|---|---|
Landing with utm_source=chatgpt.com |
Accepted and stored as source chatgpt.com |
| Channel stored | AI Search |
| Navigating to pricing | Source persisted as chatgpt.com |
| Checkout link | client_reference_id automatically set to gl_vid |
| Payment recorded | $9.00 gross, $0.56 estimated fee, $8.44 net |
| Attribution credit | First touch and last touch both chatgpt.com |
Returning from Stripe’s hosted success URL logged a separate Direct (Shared Link) visit. It did not overwrite credit for that sale, though first-touch attribution protects original AI discovery if a buyer returns days later to make a second purchase.
How should you read the report?
Compare net revenue per visitor across channels, inspecting both first-touch and last-touch views.

Keep visitor and sale counts next to revenue per visitor so a single high-ticket order is easy to spot against high-volume channels. Check the dashboard definitions for linear (50/50) split details, or compare how Grosslytics handles AI traffic vs other tools in DataFast alternatives.
What can this method not tell you?
No analytics tracker can inspect private chat transcripts or recover stripped referrers:
- Exact prompts: Referrers and UTMs carry the source domain, never the prompt text a user typed in ChatGPT.
- Untagged Direct traffic: Copied links without
utm_source=chatgpt.comland in Direct. - Google AI Overviews: Clicks from Google’s AI features arrive inside Search Console Web totals as Google organic traffic.
- Exact processor payouts: Net revenue uses processor-reported fees when available (imported Stripe balance transactions, PayPal, and RevenueCat) and otherwise subtracts each gateway’s published fee schedule (compare rates in the payment fee calculator).
Frequently asked questions
What does utm_source=chatgpt.com mean?
OpenAI appends utm_source=chatgpt.com to outbound links in ChatGPT Search answers so site owners can isolate ChatGPT referrals from generic traffic.
Should I remove utm_source=chatgpt.com from my URLs?
Never strip it on the server before g.js runs, or you erase the attribution signal. Use <link rel="canonical"> tags (built into Grosslytics pages) so search engines ignore the query parameter.
Why does ChatGPT traffic show as Direct?
Desktop apps, strict referrer policies, and copy-pasted URLs omit both the UTM parameter and the HTTP Referer header. Without either signal, analytics tools record the visit as Direct.
Can I see which ChatGPT prompt led to a sale?
No. You see the landing page, reading time, and payment converted from chatgpt.com, never the user’s private prompt.