Free plan · No credit card · Set up in 5 minutes

Lead source tracking and website analytics

See exactly where every lead came from

SourceXray attaches the channel, campaign, keyword, first touch and last touch to every form submission, and shows live visitor stats with the conversion rate of every channel, campaign and page. See which ads, posts and pages actually produce enquiries.

Works with WordPress, Webflow, Shopify, HubSpot and any site via one line of code.

app.sourcexray.com/leads
Leads Halden & Reid Lawyers
Leads128+18% vs previous 30 days
Paid Search4636% of all leads
AI Assistants9+5 on last month
Avg. days to convert3.42.6 visits per lead
Example leads in the SourceXray dashboard with their source details
Lead Channel Source / medium Campaign Keyword First touch Visits
Sarah M.Quote form · 2 min ago
Paid Search google / cpc Family Law family lawyer sydney Organic Search 3
James T.Contact form · 18 min
AI Assistants chatgpt / referral (not set) (not set) AI Assistants 1
Priya K.Booking · 1 hr ago
Google Business Profile google / organic gbp (not set) Organic Search 2
Tom R.Quote form · 3 hrs ago
instagram / social (not set) (not set) Paid Social 4
Emma L.Callback · Yesterday
newsletter / email Client update (not set) Paid Search 5
Daniel W.Quote form · Yesterday
Direct (direct) / (none) (not set) (not set) Paid Search 2
  • WordPress
  • Webflow
  • Shopify
  • HubSpot
  • Google Tag Manager
  • Gravity Forms
  • Elementor
  • Contact Form 7
  • WPForms
  • Fluent Forms
  • Formidable
  • Ninja Forms
  • Typeform
  • Tally
  • Calendly
  • Plain HTML forms
  • Slack
  • GoHighLevel
  • Zapier

Google Analytics tells you sessions. Your CRM tells you leads. Nothing joins them.

Your reports know how many people visited. Your inbox knows who enquired. The link between the two, the ad, keyword or post behind each lead, gets lost along the way.

GA4 can’t show which lead came from which keyword

Analytics counts sessions and conversions in totals. It can’t tell you that Sarah’s consultation request came from “family lawyer sydney” last Tuesday, or which campaign your best client clicked.

Hidden UTM fields quietly break

UTM tags disappear as soon as a visitor clicks through to a second page, and copy-pasted field scripts stop working after a plugin update. Nobody notices until the monthly report is wrong.

“Direct / none” everywhere

Returning visitors, bookmarks and in-app browsers all show up as Direct. The channel that actually found the customer gets no credit, because the first visit was never recorded.

Set up in five minutes. Every lead tells its own story.

No developer needed. SourceXray records the source on every visit and hands it to your forms the moment someone enquires.

  1. Step 1: Add one line of code

    Paste the script into your site’s head, or add it through Google Tag Manager or your website builder’s header settings. One small file, loaded asynchronously.

  2. Step 2: Add hidden fields, or let it auto-capture

    Add hidden fields to your forms so source details reach your CRM and email notifications. Or let SourceXray capture submissions from your form builder automatically.

  3. Step 3: Every lead arrives with its full source story

    Channel, source, campaign, keyword, landing page, first and last touch, visits and days to convert. In your inbox, your CRM and your SourceXray dashboard.

Add to your site’s <head>
<script async
  src="https://cdn.sourcexray.com/sx.js"
  data-site="sx_your_site_key"></script>
Or install withGoogle Tag ManagerAny site builder
Hidden fields, filled on submit Sent to CRM
sx_channel
Paid Search
sx_source
google
sx_medium
cpc
sx_campaign
Family Law
sx_keyword
family lawyer sydney
sx_landing_page
/family-law
sx_first_channel
Organic Search
sx_visits
3
sx_days_to_convert
2

Everything you need to trust your lead data

Built for marketers who need to prove what’s working, and for agencies who report on it every month.

Exact paid keywords

Keyword, campaign, ad group, ad, match type, network and device for every Google Ads lead, from a copy-paste tracking suffix we generate. The exact typed query for Microsoft Ads.

First and last touch

See the channel that first found each lead and the one that converted them, plus the number of visits, pages viewed and days to convert.

AI assistant traffic

Visits from ChatGPT, Perplexity, Gemini, Copilot and Claude get their own AI Assistants channel instead of hiding inside Referral.

Real success events only

SourceXray waits for your form builder’s real success event, so failed and invalid submissions never count as leads.

Hidden fields for any CRM

Source details are written into hidden form fields, and the WordPress plugin adds them to form notification emails, so they reach your CRM, inbox and spreadsheets.

Spam filtered out

Throwaway email addresses, web links in the name field and repeated submissions are set aside as spam, so they never reach your reports, alerts or CRM.

Visitor stats, privacy first

Live visitors, pages, clicks on calls and emails, goals and funnels, with the conversion rate of every channel and campaign. No IP addresses, no fingerprinting, consent mode support.

Alerts, CRM and ad platforms

Instant alerts by email or Slack, HubSpot and GoHighLevel sync, Zapier and webhooks, and conversions sent back to Google Ads and Meta. See integrations

Familiar channels, out of the box

Channel names follow GA4’s default channel grouping, so your team already knows how to read them.

  • Paid Search
  • Organic Search
  • Paid Social
  • AI Assistants
  • Google Business Profile
  • Referral
  • Display
  • Paid Video
  • Direct
  • and more

See every visitor, and which ones turn into leads

The same one-line script now shows your website traffic next to your leads: live visitors, pages, sources and clicks, with the conversion rate of every channel, campaign, keyword and landing page. No extra code and no IP addresses.

  • A conversion rate for everything

    Visits, leads and conversion rate by channel, source, campaign, keyword, landing page, country and device, compared with the previous period.

  • Live visitor stream

    Every visit as it happens: where it came from, the pages viewed in order, the calls and emails clicked, and whether it became a lead.

  • Goals and funnels, also in GA4

    Enquiries, calls, emails and WhatsApp are counted from day one. Add your own pages and buttons, see where visitors drop off, and send any goal to GA4 and Google Ads in one click.

  • Every website side by side

    Visitors, leads and conversion rate for all your websites over 24 hours, 7, 30 and 90 days, with who is on each site right now.

  • Change notes

    Note when you changed a page, an offer or an ad budget, and see the conversion rate before and after.

  • Private by design, kept for good

    No IP addresses or personal details, country from the time zone, consent mode support. Reports stay for as long as your account is open.

SourceXray Visitors overview: visitors, visits, page views, leads from visits and conversion rate, a chart with change notes, people on the website right now, and the conversion rate of each channel
The Visitors overview, with sample data from a law firm website.

See everything visitor stats can show you

Every lead, with its source, wherever your team works

SourceXray captures each lead once, then sends it on with its channel, campaign, keyword, landing page and first visit. It works with the forms on your site, whatever builder they use, with no hidden fields to add, and spam is filtered out first.

Instant lead alerts

Email, Slack, Microsoft Teams, Google Chat or Discord within seconds of the form being sent, or one daily summary. Reply to the email to answer the lead.

Every plan

HubSpot and GoHighLevel

Each lead is created or updated as a contact, with the channel, campaign, keyword, landing page and first visit in their own fields. We create the fields for you.

Pro and Agency

Zapier, Make and webhooks

Send every lead to Google Sheets, Pipedrive, Monday or 7,000 more apps through Zapier or Make, or to your own server with signed webhooks.

Pro and Agency

Google Ads and Meta conversions

Tell Google Ads and Meta which clicks became leads, so their bidding finds more of them. Send only the leads you mark as Qualified or Won to optimise for real customers.

Pro and Agency

On WordPress? Get the source in your form emails, automatically

The SourceXray plugin adds the lead source to the notification emails of Gravity Forms, Elementor, Contact Form 7, WPForms, Ninja Forms, Fluent Forms, Formidable and more, saves it with Gravity Forms entries and WooCommerce orders, and installs the tracking script for you. No hidden fields to add. Included on every plan, ready to download from your dashboard.

Start free

Set up Google Tag Manager and GA4 just by asking

Type what you want tracked in plain English. AI Tracking Setup reads your live Tag Manager container, GA4 and website, builds the tags, triggers and key events, and publishes them only after you approve. Included in every plan.

  1. Step 1: Connect Tag Manager and GA4

    Connect with Google in about a minute, or share access with one SourceXray email the way you’d add a colleague. We never see your Google password.

  2. Step 2: Ask in plain English

    “Track every enquiry as a lead and send it to Google Ads.” AI Tracking Setup checks what you already track, so nothing is ever counted twice.

  3. Step 3: Review the plan, then approve

    See every tag, trigger and event name before anything changes. Test-build it in a safe workspace, rename events, then publish in one click.

  4. Step 4: Check it live, roll back any time

    Open your website with the live checker, click around, and watch every GA4 event your browser sends. AI Tracking Setup explains what works. Every change can be rolled back.

AI Tracking Setup haldenreid.com.au

Track every enquiry as a lead in GA4 and Google Ads

Your Google tag and enhanced measurement already work, but GA4 doesn’t know about leads yet. I’ll use the sx_lead event SourceXray fires after every successful form, so failed submissions never count.

Tracking plan Proposed

  • Trigger: custom event sx_lead
  • GA4 event generate_lead with lead_channel
  • Google Ads conversion on every lead
  • Key event: generate_lead
Test buildApprove and publish

Live in GTM-W7K2PQ, version 43

Knows what you already have

Reads your container, GA4 enhanced measurement, key events and the last 7 days of events before suggesting anything.

A lead event that never lies

SourceXray confirms each form really succeeded, then gives Tag Manager one clean sx_lead event with the channel, campaign and keyword.

Safe by design

It only adds clearly labelled items (“SourceXray - …” or your own label) and never edits or deletes yours. Nothing goes live without your approval, and no personal data goes to GA4.

Fair, clear limits

Free 5, Starter 50, Pro 150 and Agency 400 AI messages a month. Test builds, publishing and rollbacks don’t use messages.

See exactly how AI Tracking Setup works

We won’t make up your organic keywords

Since 2013, Google has removed the search term from organic clicks before the visitor reaches your website. That’s why Google Analytics shows (not provided). No tool can see it, whatever its marketing says.

So SourceXray shows you what is real: the exact keyword for paid ads, the exact query wherever the platform passes it, and the channel, search engine and landing page for organic visits. No guesses and no modelled data.

  • Google AdsPaid search
    Exact keyword
    Keyword, campaign, ad group, ad, match type, network and device.
  • Microsoft AdsPaid search
    Exact query
    The exact search query the person typed before clicking your ad.
  • Organic GoogleUnpaid search results
    Keyword hidden by Google
    Search engine and landing page. The keyword is withheld by Google for every tool, not just this one.

Want organic search terms in aggregate? Google Search Console shows them by page.

Start free. Upgrade when the leads roll in.

Start on the free plan and move up when you need more websites, more leads or a longer history. All prices in USD.

Free

Try it on one website, free for as long as you like.

$0/month

No credit card needed Start free

What you get:

  • 1 website
  • 25 leads a month in your dashboard
  • 5,000 page views a month of visitor stats
  • 30 days of lead history
  • Channel, campaign, exact paid keyword and first visit on every lead
  • Lead source in your form emails and hidden fields, with no limit
  • Every report, plus CSV export
  • Alerts by email, Slack, Teams, Google Chat or Discord
  • WordPress plugin and spam filtering
  • AI Tracking Setup, 5 messages a month

Starter

For one business website with steady enquiries.

$29/month

Billed monthly Choose Starter

Everything in Free, plus:

  • 500 leads a month instead of 25
  • 25,000 page views a month instead of 5,000
  • 12 months of lead history instead of 30 days
  • AI Tracking Setup, 50 messages a month instead of 5

Agency

For agencies tracking leads across client websites.

$159/month

Billed monthly Choose Agency

Everything in Pro, plus:

  • 25 websites instead of 5
  • 15,000 leads a month
  • 500,000 page views a month
  • AI Tracking Setup, 400 messages a month

Every plan tracks every lead the same way. Paid plans give you more websites, leads and history, and Pro adds the CRM, Zapier and ad platform integrations. Plans list only what works today. Cost per lead, team members, client workspaces and branded client reports are on our roadmap with target dates.

Compare every feature
What each SourceXray plan includes
FeatureFreeStarterProAgency
How much you get
Websites11525
Leads saved a monthYour forms and emails keep working past the limit255003,00015,000
Page views a monthFor visitor stats. Leads are never limited by this5,00025,000100,000500,000
Lead history30 days12 months24 months24 months
AI Tracking Setup messages a month550150400
Lead tracking
Channel, source, campaign and exact paid keyword on every lead
First visit and latest visit, with visits and days to convert
ChatGPT, Perplexity, Gemini, Claude and Copilot as their own channel
Works with the forms you already have, no rebuilds
Lead source in your form emails and hidden fieldsOn every lead, with no monthly limit
WordPress plugin
Spam filtering
Reports
Channels, sources, campaigns, keywords and landing pages
First versus latest visit report
Mark leads as Qualified or Won
CSV export
Visitor stats
Live visitors and a visitor streamEvery page viewed and every click, visit by visit
Conversion rate by channel, campaign, keyword and landing page
Call, email, WhatsApp, download and button clicks
Goals and funnels
Send goals to GA4 and Google Ads in one clickNo AI messages used
Change notes with the conversion rate before and after
Visitor reports kept for as long as your account is open
Pages, countries, devices and every website side by side
Alerts
Instant alerts or a daily summaryEmail, Slack, Microsoft Teams, Google Chat and Discord
Integrations
HubSpot and GoHighLevelContacts created with the source filled in
Zapier, Make and webhooks
Google Ads and Meta conversionsSo their bidding learns from real leads
AI Tracking Setup
GA4 and Tag Manager audit, tracking built from plain-English requestsNothing goes live until you approve it

Questions, answered plainly

Does SourceXray add hidden fields to every form automatically?

Every lead from every supported form reaches your SourceXray dashboard automatically, with its full source, and with no form changes at all.

For the source to also appear in the form’s own emails or CRM: plain HTML forms, Webflow forms and Shopify contact forms get the fields added automatically. On WordPress, the SourceXray plugin adds the source to the notification emails of Gravity Forms, Elementor, Contact Form 7, WPForms, Ninja Forms, Fluent Forms and Formidable with no form changes. Other builders, such as HubSpot forms, only save fields that exist in the form, for every tool, so you add one hidden field once (about two minutes, step-by-step in the app) and SourceXray fills it on every submission.

Or skip fields altogether: send every lead with its source straight to your inbox, Slack, HubSpot, GoHighLevel or Zapier from the Integrations page.

Can it send leads to my CRM, Slack or Zapier?

Yes. Lead alerts by email, Slack, Microsoft Teams, Google Chat and Discord are on every plan, instantly or as a daily summary. On Pro and Agency you can also sync contacts to HubSpot and GoHighLevel with the source in their own fields, and send leads to Zapier, Make or any webhook. They work with every form SourceXray captures, because they start from the lead it already recorded.

Can it improve my Google Ads and Meta campaigns?

Yes, on Pro and Agency. Google Ads imports which ad clicks became leads from a private feed address, with no API access or developer token needed. Meta receives each lead through its Conversions API, with the email and phone hashed before they leave SourceXray. Mark leads as Qualified or Won and send only those, so the platforms bid for real customers rather than form fills.

How does it handle spam?

Leads with a throwaway email address, a web link in the name field, or the same email sent three or more times in ten minutes are filed as spam. They aren’t counted in your monthly leads and are never sent to your alerts, CRM or ad platforms, and you can mark any of them as not spam in one click.

How does the AI Tracking Setup work?

You connect Google Tag Manager and GA4 by adding one SourceXray email, then ask for what you want in plain English. AI Tracking Setup reads your live container, GA4 settings, recent events and your website, and proposes a plan listing every tag, trigger and event. You can test-build it safely, rename events, then publish it with one click and roll it back any time. More detail here.

Is it safe to let AI change my Tag Manager?

Nothing goes live until you approve it. Every plan is test-built in a separate workspace first, AI Tracking Setup only adds clearly labelled items (“SourceXray - …” or your own label) and never edits or deletes your own tags, and every publish keeps the previous version so you can roll back in one click. It never sends personal data such as names, emails or phone numbers to GA4. Your Tag Manager and GA4 can only be connected by the SourceXray workspace that proves it owns them, so other customers can never see or change them.

What counts as an AI message?

Each answer from AI Tracking Setup uses one message, including explaining a live tracking check. Test builds, publishing, rollbacks and the live checker itself are free. Messages reset on the 1st of each month: Free 5, Starter 50, Pro 150 and Agency 400.

Do you show organic Google keywords?

No, and no honest tool can. Since 2013 Google has removed the search term from organic clicks before the visitor reaches your website, which is why Google Analytics shows “(not provided)”.

For organic leads, SourceXray shows the channel (Organic Search), the search engine and the landing page. For Google Ads you get the exact keyword, campaign, ad group and ad, and for Microsoft Ads the exact search query the person typed. Wherever a platform passes the query, we show it. To see organic search terms in aggregate, use Google Search Console.

Does it slow my site down?

No. The script is a single file of about 16KB. It loads asynchronously, so it never blocks your page from rendering, and browsers cache it after the first visit. Visitor stats use one tiny background request per page, which never delays the page.

Is it GDPR and Privacy Act friendly?

It’s built to collect as little as possible. Visitor stats are anonymous: no IP addresses are stored, the country comes from the visitor’s time zone, there’s no fingerprinting, and visit details are kept in first-party storage on your own domain. Contact details are only stored when someone sends a form.

Data retention limits apply, you can switch on a mode that doesn’t store contact details at all, and consent mode is supported so tracking can follow your cookie banner. As with any tool that handles enquiries, mention it in your privacy policy.

Do I still need Google Analytics?

You don’t have to. SourceXray shows your visitors, pages, sources, conversion rates, goals and funnels by itself, in plain English, and connects every lead to the visits behind it.

If you use GA4 for your ads or reporting, keep it: AI Tracking Setup sets it up for you, and any SourceXray goal can be sent to GA4 and Google Ads in one click.

How long do you keep my data?

Leads are kept for your plan’s history: 30 days on Free, 12 or 24 months on paid plans. Visitor reports are kept for as long as your account is open, so you can compare any period.

Individual visits, which power the live visitor stream, are kept for 90 days (30 on Free). After that only daily totals remain, with no visitor details.

Which form builders work?

Gravity Forms, Elementor, Contact Form 7, WPForms, Ninja Forms, Fluent Forms, Formidable, Forminator, Webflow, HubSpot, Typeform, Tally, Calendly bookings and plain HTML forms.

SourceXray waits for each form builder’s real success event, so failed and invalid submissions are never counted as leads.

What about phone calls?

Not yet. SourceXray tracks form submissions and bookings today. Call tracking is on our roadmap as research, with a target of the second half of 2027.

Can I use it for clients?

Yes. The Agency plan covers 25 websites and 15,000 leads a month, so every client site fits in one account, and each client’s leads can go to their own inbox, Slack or CRM. Separate client workspaces, team members and branded monthly reports are on our roadmap for the first half of 2027.

Do I need Google Analytics?

No. SourceXray works on its own. If you already use Google Analytics, it runs happily alongside it, and the channel names will feel familiar because they follow GA4’s default channel grouping.

How long does setup take?

Most sites are done in about five minutes: add the script (directly or through Google Tag Manager), then send a test enquiry to see it arrive. Every lead is captured automatically. Hidden fields are only needed if you also want the source inside a form builder’s own emails or CRM.

Know where your next lead came from

Set up SourceXray in five minutes and see the full source story behind every enquiry.