Revenue Attribution
Connecting Data Sources
How to connect GA4, Cloudflare, Stripe, and the tracking script to populate attribution data.
Revenue Attribution combines data from multiple sources. Each source provides different data:
Google Analytics 4 (GA4)
GA4 provides visitor counts, session data, bounce rate, session duration, and traffic sources. It is the primary source for understanding who visits your site and where they come from.
- 1Go to Tools > GA4 Integration in your dashboard.
- 2Click "Connect" and sign in with your Google account.
- 3Select the GA4 property that corresponds to your project's website.
- 4Grant the required permissions.
- 5GA4 data will appear in Attribution within minutes.
Cloudflare
Cloudflare provides AI bot crawl data and AI referral traffic data. This is critical for understanding which AI bots are crawling your site and which AI platforms send you traffic.
- 1Go to Tools > Cloudflare Analytics in your dashboard.
- 2Enter your Cloudflare API token and zone ID.
- 3Click "Connect" and verify the connection.
- 4Bot crawl and AI referral data will appear automatically.
Stripe
Stripe provides actual revenue data — charges, sales amounts, and purchase dates. Without Stripe, the dashboard shows traffic data only; with Stripe, you get the full revenue picture.
- 1Go to Tools in your dashboard and find the Stripe integration.
- 2Click "Connect Stripe" and authorize via OAuth.
- 3Reaudit will automatically sync your charges and create attributed sales.
- 4Revenue data appears in the Attribution dashboard immediately.
Reaudit Tracking Script
The Reaudit tracking script is a lightweight JavaScript snippet you add to your website. It tracks visitors, referrers, AI bot crawls, and AI referrals independently of GA4 or Cloudflare — so you get tracking even if you don't use those services.
- 1Go to Tools and find the Tracking Script section.
- 2Copy the script tag provided for your project.
- 3Paste it into the section of your website.
- 4For React/Next.js sites, use the React tracking component instead.
- 5Events will start flowing into the Attribution dashboard within minutes.
Best Coverage
For the most complete attribution data, connect all four sources. GA4 gives you broad traffic analytics, Cloudflare gives you AI bot data, the tracking script gives you first-party data, and Stripe ties it all back to revenue.