Skip to content
Traceten

What does connecting Stripe to Traceten give you?

Every paid Stripe checkout and invoice is credited to the AI assistant that sent the buyer, so you see revenue from ChatGPT, Claude, Perplexity and the rest. You paste a restricted key, Traceten creates the webhook for you, imports the last 90 days, and subtracts refunds from the source that earned them.

What will you see in Traceten?

Revenue by AI assistant
Checkout Sessions and paid invoices land against the assistant that won the customer, renewals included.
Net of refunds
A refund comes off the source that earned the charge, on the day it was issued. Conversion counts stay gross.
90 days of history
Completed Checkout Sessions and paid invoices from the last 90 days are imported when you connect.
Payment Links without code
Redirect a Payment Link to your own page with the session id, and the snippet there reports the purchase.
30 currencies
A payment in any of 30 currencies is converted to USD at that day's rate.

How do you connect Stripe?

  1. 01

    Create a restricted key

    In Stripe, create a restricted key with Webhook Endpoints set to Write and read access to the resources the guide lists.

  2. 02

    Paste it into Traceten

    Open Settings, then Integrations, pick the site your checkout runs on, choose Stripe and paste the key.

  3. 03

    Pass the visitor id at checkout

    Set client_reference_id to the visitor id when you create a Checkout Session, and call identify() so renewals match too.

Questions

01

Does Traceten need my Stripe secret key?

No. It accepts only a live restricted key and refuses secret, publishable and test-mode keys. The key is stored encrypted, and only its last four characters are shown again.
02

Are Stripe subscription renewals attributed?

Yes. Stripe bills a renewal as an invoice, and Traceten credits it to the AI source that won the customer. Call identify() with the email the customer pays with so renewals keep matching.
03

How are Stripe refunds handled?

A refund is subtracted from the source that earned the charge, dated the day it was issued. Conversion counts stay gross, and cancelling a subscription changes no figure.
04

Can I attribute Stripe Payment Links without writing code?

Yes. Set the Payment Link's redirect to a page on your site with ?session_id={CHECKOUT_SESSION_ID}, and the snippet on that page reports the purchase.

AI is already sending you buyers. See the receipts.

No calls, no credit card.