Last Updated on September 27, 2024

**Note: If you haven’t set up the CallRail account yet, or need to setup DNI, head over to this training first

Google Analytics 4 Integration

Enable the GA4 Integration within CallRail

Navigate to the correct CallRail account (and company if there are multiple companies within the account) and go to “Integrations”.  Add the “Google Analytics 4” integration. It will prompt for the client’s website.  Type it in and it will try and auto populate with the measurement ID.  If it doesn’t you will need to grab that from Google Analytics under “Data Streams”.  It will also ask for an API Secret.  You will get that under “Data Streams” -> “Measurement Protocol API secrets” – go ahead and name it “CallRail”.

Under “Interactions to send to Google Analytics 4” we will want calls enabled and set to “Send first-time calls and repeat calls as separate custom event types.  Also enable SMS just in case the client gets SMS messages.

Import CallRail Custom Definitions and Conversions

There are a bunch of custom dimensions and metrics we want to add since GA4 tracks data differently than UA did.  We used to manually have to add in all of these custom definitions but fortunately someone created a tool that makes it really simple to do.

  1. Open this sheet:
    https://docs.google.com/spreadsheets/d/10YP50LjohHyBJydnlgtKxgl0qmGbBPpMKWPoCDJD7LE/edit#gid=0
  2. Replace the Property ID with the GA4 property we are wanting to import to.  Note that this is asking for Property ID not Measurement ID.  Property ID is found under “Property Settings”.
  3. Within the Sheet there is a custom menu called “CallRail GA4 Configurator”.  Click on it and run all 3 options in the dropdown (1 at a time).  Now if you go to GA4 and view the “Custom definitions” section you should see a bunch of custom dimensions.  You should also see “first_time_phone_call” as a conversion under “Conversions”