← Back to Blog

CallRail and Google Analytics 4: How the Integration Works, the Setup Steps, and Why Calls Show Up as Direct

Ihor Odariuk
· updated · 9 min read
Quick answer

CallRail sends each call, text, chat and form to GA4 as an event within minutes of switching it on. Set up custom dimensions, metrics and key events in GA4 right after activating, since they do not apply to earlier data. Calls to source numbers, such as your Business Profile line, have no website session, so GA4 shows them as Direct.

Contents · 7 sections

CallRail connects to Google Analytics 4 by sending each call, text, chat and form submission as an event to your GA4 property. CallRail's help center describes it in one line: the integration works "by sending your call, text, chat, and form submission data to events you've created" (GA4 integration). Switching it on takes a few minutes. Making the data show up in reports takes three more steps in GA4, and one of them only works if you do it right away, because it does not apply to data that arrived before it.

This post covers the setup in order, the event names and parameters CallRail sends, how form tracking feeds the same integration, and the limitation that explains why many CallRail events land in GA4 as Direct or (not set). What CallRail is in the first place, and how number swapping works, is in what is CallRail.

What do you need before you start?

CallRail lists two requirements: "you'll need to have a GA4 property and have the gtag installed on your site" (GA4 integration). The gtag is the Google tag, the code that loads GA4 on your pages.

In GA4 you need the Editor role for the second half of the setup. CallRail's article repeats it for each step: custom dimensions, custom metrics and key events all need Editor.

You may also need your GA4 measurement ID and a Measurement Protocol API secret. CallRail tries to find the measurement ID on your site by itself; if it cannot, you enter both by hand.

How long it takes: CallRail says "anywhere from an hour or up to a few days," depending on the size of the business.

The setup in CallRail, step by step

The integration is set up per company inside your CallRail account, so a business with several companies in one account repeats it for each. From CallRail's GA4 integration article:

  1. Open Integrations in the left navigation and choose Google Analytics 4.
  2. Choose the company.
  3. Enter your website URL. CallRail searches the site for the measurement ID. If it is not found or is wrong, enter the measurement ID and the API secret manually.
  4. Optionally add more GA4 properties to receive the same data, up to 5 in total. All properties have to use the same event settings.
  5. Choose which interaction types to send: Calls, SMS, Forms, Chat.
  6. Choose how calls are sent: all calls as one event, or first-time calls and repeat calls as separate events.
  7. Optionally enter a default monetary value per event. An automation rule in CallRail can overwrite it later.
  8. Select Activate.

CallRail's own note after this step matters: "You must continue setting up in the following section before you can start seeing CallRail data in your GA4 reports."

First-time calls or all calls?

For a service business, splitting first-time and repeat calls is usually the more useful choice. A repeat caller is often an existing customer asking about a booked visit, and counting those calls as new leads inflates every channel that brings repeat traffic, such as the Google Business Profile. With the split, you can mark only first_time_phone_call as a key event and keep repeat calls visible but out of the lead count.

The setup in GA4: do it right after activating

This is the part most setups get wrong. CallRail's warning, verbatim: "The settings you choose below do not apply retroactively, so it's important to complete this setup process in GA4 soon after activating the integration. If you wait, any data sent over before you complete the setup cannot be used in reports."

CallRail also recommends sending a test event right away, such as a call to a tracking number or a test form submission, because some of the GA4 steps need an event to exist first.

Step 1: custom dimensions

CallRail sends its attribution data as event parameters. GA4 does not show event parameters in reports until you register them. CallRail recommends registering these as custom dimensions, with Event scope:

Parameter What it holds
source, medium, campaign CallRail's own attribution for the interaction
landing_page_url, referrer Where the visitor arrived and came from
tracking_number, tracking_number_name Which number was called
first_time_caller Yes or no
qualified Whether the lead was marked qualified
tags CallRail tags on the interaction
call_id, form_id, form_name, sms_id, chat_id IDs of the interaction
company_name The CallRail company
browser_or_device (calls and chats), device (SMS and forms) Device information

The path in GA4, from the same article: Admin, then Custom definitions under Data display, Create custom dimensions, name it, choose Event scope, select the event parameter, save. One dimension per parameter.

Step 2: custom metrics

Two parameters are numbers, and CallRail recommends registering them as custom metrics: call_duration (time, in seconds) and value.

Step 3: key events

GA4 renamed conversions to key events. Marking CallRail events as key events is optional, but without it the calls and forms do not appear as key events in GA4's acquisition, engagement and advertising reports. In GA4: Admin, Events, then the Mark as key event toggle. The CallRail event names are:

Event When it fires
phone_call Any call, when calls are sent as one event
first_time_phone_call A first-time caller, when calls are split
repeat_phone_call A repeat caller, when calls are split
form A tracked form submission
chat A chat conversation
sms A text message

If you send data to several properties, the custom dimensions, metrics and key events have to be set up in each one.

How long until data appears?

"Data often appears soon after the integration is active. However, it can take up to 24 hours after activation for data to begin appearing in GA4" (GA4 integration).

Why do CallRail calls show up as Direct or (not set) in GA4?

This is the question behind most complaints about the integration, and CallRail answers it in a separate article, your CallRail data in Google Analytics 4. It depends on whether the interaction has a website session behind it.

Interactions with session data. A call to a number from a website pool (the numbers CallRail swaps onto your site for each visitor), a form submission or a chat started on the site. For these, CallRail sends the session ID that Google Analytics issued, so GA4 attributes the event with its own logic, and a call from a Google Ads visitor can appear under google / cpc like any other event.

Interactions without session data. A call to a source tracking number, such as the number on your Google Business Profile, a print ad or a van. There was no website visit, so there is no GA4 session to attach to. CallRail's article is direct about the result: it cannot send data to GA4's standard attribution fields, which "include but are not limited to: Source, Medium, Campaign, Landing Page, Gclid." Those fields show "not set" or "none", and because GA4 uses them for the default channel grouping, "our events will show as 'Direct' or 'Undefined'."

CallRail still sends its own source, medium and campaign as custom parameters. That is why Step 1 above matters: if source and medium are registered as custom dimensions, you can build reports on CallRail's attribution even where GA4's own channel says Direct.

How this affects Google Ads

One sentence in the same article changes how you should set up conversions: because there is no standard gclid field, CallRail's events "will not show in any connected Google Ads reporting within GA4. Additionally, the conversion import from GA4 to Google Ads will not include our events. Instead, we recommend using our direct integration with Google Ads."

So do not import CallRail calls into Google Ads through GA4. Connect CallRail to Google Ads directly, as described in how to connect CallRail to Google Ads, and use GA4 for reporting on all channels together. If you also create Google Ads conversions from GA4 key events, check that calls are not counted twice; Google Ads and GA4 conversions that do not match covers how to find the duplicates.

Setting your own source and medium for offline numbers

For source tracking numbers, CallRail lets you type the source, medium and campaign that are sent to Google Analytics, or stop a number from reporting to GA at all: Settings, the company, the tracking number, Advanced Options, then the Google Analytics fields (define custom values). This only works for source tracking numbers, not for website pools. Consistent names here, such as google / business_profile for the profile number, make the custom-dimension reports readable.

CallRail form tracking and GA4

Forms reach GA4 through the same integration, as the form event, once Forms is checked in the integration settings. Getting the forms into CallRail in the first place is a separate setup.

CallRail offers two kinds: forms built inside CallRail and embedded on your site, and external form tracking, which captures the forms you already have. External form tracking needs form tracking switched on and the CallRail JavaScript snippet installed on the site (getting started with form tracking). The form itself must meet these requirements, from set up external form tracking:

  • A static HTML form, wrapped in <form> tags
  • At least one name, phone number or email field
  • A standard <input type="submit"> or <button type="submit">, unless the form comes from a supported provider
  • Not inside an <iframe> (Typeform is the exception, through its own integration)

The supported providers listed include Contact Form 7, Elementor, Gravity Forms, HubSpot Forms, Unbounce and WP Forms, among others. CallRail says tracking is unavailable "for forms hosted in an iFrame or on a URL separate from where the swap script is installed," and that multi-page forms cannot be tracked, because submissions are received page by page.

The setup is in Settings, the company, External Forms under Lead Capture: switch it on, choose all pages or specific pages (with the full domain in the URL), optionally limit capture to visitors from paid search or Google Ads, and list any fields you do not want stored.

Two practical points for service businesses:

  • Validation. CallRail captures the submit, so a form that lets people submit before fields are valid produces incomplete leads. CallRail's first recommendation is to disable submitting until the form passes validation.
  • Blocked visitors. CallRail lists ad blockers and content blockers, and browsers such as Brave, as reasons a submission is not captured. That is a gap you cannot close from the CallRail side, which is one reason to keep the form's own email notification or CRM entry as the record of truth.

Events are missing in GA4: the two documented causes

CallRail's missing events in GA4 article names two causes:

  1. Data thresholding from Google signals. With Google signals on, GA4 can hide rows in reports, and CallRail events may not display. The fixes CallRail lists: turn off Include Google signals in reporting identity, switch the reporting identity to Device-based, or turn Google signals off.
  2. The developer traffic filter. An active filter for developer traffic can filter out CallRail events. Check it in Admin, Data Settings, Data filters.

Two more causes follow from the setup itself rather than from that article: custom dimensions registered late (they do not apply to earlier data), and events looking "missing" because they are there but sitting in Direct, as explained above. Check the Events report for the raw event count before assuming data is lost.

What GA4 still cannot tell you about CallRail calls

The integration answers "which channel and page produced this call or form." It does not answer "which of these became a paid job." For that, the call or form has to be joined to the job in your CRM, usually by phone number, and on many service business sites that join is where most of the attribution is lost. On one appliance repair site I measured about 75 real form leads in a month while the CRM credited the website with three jobs, because dispatchers entered jobs by hand and left the source blank (the lead attribution gap).

If you want the CallRail, GA4 and Google Ads setup checked end to end, including whether calls are counted twice, the Google Ads conversion tracking page describes how I do it, and the free written diagnostic is the place to start.

Related:

The package for this
Google Ads conversion tracking setupfrom $399

One clean Google Tag Manager container, GA4 key events for form fills and phone clicks, Google Ads conversions where only real leads drive bidding, and calls tracked by channel.