AI Tracking Setup audits your Google Tag Manager container and GA4 property, then builds the tracking you ask for: every lead sent to GA4 as a key event with its channel, Google Ads conversions that fire only on real leads, phone, email, WhatsApp and booking clicks, and more. See how it works.
Connect with Google (about 1 minute)
The fastest way. You sign in with the Google account that already manages the website's Tag Manager and Analytics, and pick them from a list.
- In SourceXray open AI Setup, choose the website and click Connect with Google.
- Sign in with the Google account that manages the website: it needs Publish access to the Tag Manager container and Editor access to the GA4 property. On the Google screen, allow every permission: AI Tracking Setup needs Tag Manager to build and publish tags, and Analytics to read events and mark key events.
- Back in SourceXray, check the container and property. We pre-select the container found on your website and the property whose web stream matches your domain.
- Click Connect and verify.
Your Google password never reaches us. Google gives us a token that only works for SourceXray, which we keep encrypted and use only on the container and property you pick. To use a different Google account, click Use a different account.
Or share access with our email (about 3 minutes, once per website)
Use this if you'd rather not sign in, or if someone else manages the website's Google accounts and can add our email for you.
- Install SourceXray on the website first. We use your SourceXray script to prove the website is yours.
- Copy our connection email:
connect@sourcexray.iam.gserviceaccount.com. Google lets you share access with an email address, so we never need your Google password. - In Tag Manager open Admin, User Management, click +, Add users, paste the email, set the container permission to Publish and click Invite.
- Prove the container is yours: in the same container open Variables, under User-Defined Variables click New, choose Constant, name it SourceXray key, paste your site key and save. No need to publish. You can skip this if SourceXray is already installed through this container.
- In Google Analytics open Admin, Property access management, click +, Add users, paste the email, choose Editor and click Add.
- In SourceXray open AI Setup, enter your container ID (GTM-XXXXXXX) and GA4 property ID (numbers only, under Admin, Property details), and click Connect and verify.
Google can take a minute to apply new access. If connecting fails straight away, wait a moment and try again.
Is my account safe if everyone shares our email?
Yes. Every SourceXray customer shares the one connection address, but only our servers can use it, and only on the container and property you prove are yours. A container must contain your own site key, and a GA4 property must have a web stream for your website's domain. Each container and property can only be connected to one SourceXray workspace, so nobody else can connect them, see them or change them.
Safe by design
- Nothing goes live until you approve it.
- It never edits or deletes your own tags. Everything it adds is labelled "SourceXray - ..." (or your own label, see below).
- Every change is test-built first and can be rolled back in one click.
- It is built never to send personal details (names, emails, phone numbers) to GA4.
Your own names and labels
Label in Tag Manager. Every tag, trigger and variable AI Tracking Setup adds starts with a label, "SourceXray - Phone click" by default. Agencies often prefer their own: in AI Setup, under Connected, type a label (2 to 30 characters) in Label in Tag Manager and click Save. New items use it from then on; items already published keep their names. Clear the field to go back to SourceXray.
Event names in GA4. Click any event name on a plan to rename it before you publish. AI Tracking Setup checks every name as you type:
- Names GA4 reserves (like session_start) or already collects by itself (like page_view, click, scroll, form_submit and file_download) are blocked, because reusing them mixes two different things in your reports.
- Renaming a GA4 ecommerce event such as purchase, add_to_cart or begin_checkout shows a strong warning. GA4 only fills its revenue and ecommerce reports from those exact names, and Google Ads purchase conversions imported from GA4 rely on them too.
- Renaming a GA4 recommended event such as generate_lead or sign_up shows a softer warning: a custom name still works as a key event, but GA4's built-in reports for it stay empty.
- Giving something that is not a sale a purchase name is flagged too, so GA4 doesn't count it as revenue.
Each warning has a Keep button to go back to the recommended name. You can still rename if you are sure. You can also set a default under Event names (GA4 recommended names, matching your existing events, or your own prefix).
Send your SourceXray goals to GA4
On Visitors, Goals, click Send to GA4 next to any goal. The ready-made plan appears here: run a test build, then publish. It uses no AI messages. See Visitor stats, goals and funnels.
AI messages
Each answer from AI Tracking Setup uses one message from your plan's monthly allowance, which resets each month. Free 5, Starter 50, Pro 150 and Agency 400 messages a month.
Disconnect
In AI Setup, open the website's connection and click Disconnect. If you used Connect with Google, this also cancels our access at Google and deletes the stored token. You can also remove SourceXray at any time in your Google account under Security, Your connections to third-party apps and services.
If you shared access with our email, also remove it from Tag Manager User Management and GA4 Property access management. Either way, our access ends immediately, and the tags we added stay in your container until you delete them.
Email info@sourcexray.com with your website address and what you tried.