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

The SourceXray script counts visits, page views and the clicks that matter (calls, emails, WhatsApp, downloads and links to other websites) by itself. There is nothing to set up: if the script is on your website, visits appear under Visitors within seconds. Because visits and leads come from the same script, every report shows not just traffic but how much of it turns into enquiries.

What you can see

ReportWhat it shows
OverviewVisitors, visits, page views, leads from visits and conversion rate, compared with the previous period. Bounce rate, average visit length, pages per visit and new visitors. Who is on the site right now.
Visitor streamThe latest visits as they happen: where each one came from, the pages viewed in order, the clicks, how long it lasted and whether it became a lead. Tick Only visits that became leads to see the path to every enquiry.
PagesMost viewed pages, landing pages with bounce and conversion rate, and exit pages.
SourcesVisits, leads and conversion rate by channel, source and medium, campaign, keyword and referring website.
Locations and DevicesCountries, device types, browsers and operating systems, each with its conversion rate.
ClicksEvery call, email, WhatsApp, download, outbound and tagged button click, with what was clicked.
Goals and FunnelsYour own conversions and step-by-step drop-off. See below.

The Websites page shows every website side by side for the last 24 hours, 7, 30 and 90 days. Inside a lead, Visit history lists the earlier visits of the same person with the pages they viewed. Reports also gain Visits and Conv. rate columns.

How things are counted

  • A visit ends after 30 minutes without activity, or when the person comes back from a new campaign or source. Its channel is the same as the lead channel: the latest source that was not Direct.
  • A visitor is one browser on one website, identified by a random number kept on your own domain.
  • A lead from a visit is a visit that sent at least one enquiry. Conversion rate is those visits divided by all visits.
  • A bounce is a visit with one page view, no clicks and no enquiry.
  • Visit length is the time from the first to the last page view or click of the visit.
  • Single page apps (React, Vue and similar) are counted when the address changes, with no extra code.

Counting your own buttons

Calls, emails, WhatsApp, downloads and outbound links are found automatically. To count any other button or link, give it a name with data-sx-event, or add the CSS class sx-event to use the button text as the name:

HTML
<button data-sx-event="Book a call">Book a call</button>
<a class="sx-event" href="/quote">Get a quote</a>

Most page builders (Elementor, Divi, Webflow) have a CSS classes field, so sx-event works without editing code. From your own JavaScript, call SourceXray.event('Book a call').

One checklist for everything

Each website has a Setup checklist (on its page under Websites, and on Overview until it is done): install the script, get your first lead, add ad tracking, choose your goals, send them to GA4 and Google Ads, and turn on lead alerts. Steps you don't need, such as ads or GA4, can be skipped.

Goals

Every website starts with four goals: Enquiry sent, Call click, Email click and WhatsApp click. To add your own, open Visitors, Goals and click New goal. A goal is reached when a visit:

  • Views a page, such as /thank-you. Use * for any characters: /blog/* or /thank-you*.
  • Makes a click, such as any call click, or a button click with the name Book a call.
  • Sends an enquiry through any form SourceXray records.

Each visit counts once per goal. The conversion rate is completions divided by visits.

Send goals to GA4 and Google Ads

Once Google Tag Manager and GA4 are connected in AI Tracking Setup, click Send to GA4 next to a goal. SourceXray writes the Tag Manager tag and marks the event as a GA4 key event, so GA4 counts the same conversions as SourceXray. As with any plan, you run a test build and publish it yourself, and can roll it back in one click. This uses no AI messages. To bid on the goal, import the key event in Google Ads under Goals, Conversions, New conversion action, Import, Google Analytics 4.

For Tag Manager, every counted click is also pushed to the dataLayer as sx_click with sx_click_type and sx_click_label, next to the sx_lead event. Phone numbers, email addresses and WhatsApp numbers are never put in the dataLayer, so they never reach Google.

Change notes

Changed something on the website, started an offer or raised an ad budget? Add a change note under the chart on Visitors. It shows as a dashed line on the charts, with the conversion rate in the 14 days before and after it, so you can see whether the change worked.

Funnels

A funnel is 2 to 10 steps, each a page, a click or a lead, for example home page, then a service page, then the contact page, then an enquiry. A visit counts at a step only if it reached every earlier step first, in the same visit. The funnel shows how many visits reached each step and how many dropped off between steps.

Leaving your own visits out

Open your website once with ?sx_ignore=1 on the end of the address, for example https://example.com.au/?sx_ignore=1. That browser is left out of the visitor stats from then on (your test enquiries still arrive as leads). Do this in each browser you use. To be counted again, open the same address with ?sx_ignore=0. The link is also on the website's Settings tab in SourceXray.

Page views each month

Each plan includes a number of page views a month (see Plans, billing and your account). Settings shows how many you have used. If you reach the number, visitor stats pause until the next month or until you upgrade. Leads, hidden fields, alerts and integrations are never affected.

Privacy

  • No IP addresses are stored. The country comes from the browser's time zone.
  • No names, emails or other personal details are part of visitor stats, and no cookies of other websites are used.
  • Bots, crawlers, uptime monitors and automated browsers are ignored.
  • Individual visits are kept for 90 days (30 days on Free). After that, daily totals (visits, leads, channels, campaigns, pages, countries, clicks, goals and funnel steps) are kept for as long as your account is open, so every report works for any date range. Only the visit-by-visit details, such as the visitor stream, end after 90 days.
  • With data-consent="wait", nothing is counted until the visitor consents. To switch visitor stats off completely and keep lead tracking only, add data-analytics="off" to the script tag.
Still need help?

Email info@sourcexray.com with your website address and what you tried.