Integrate calls into Google Analytics 4
Google Analytics 4 is Google's next generation of the Google Analytics platform and allows you to track both website and app data side-by-side in a single reporting property. WildJar's GA4 integration allows you to attribute your calls back to website visits by sending a "phone_lead" event.
To integrate your calls to GA 4, you will need your GA4 Measurement ID and a Measurement Protocol API Secret.
Once integrated, you can mark phone lead events as a key event or configure GA4 to receive additional WildJar data as custom definitions for use in your reporting.
Activating GA4 integration
To integrate WildJar into your Google Analytics 4 property, please follow the steps below:
- Navigate to the Integrations page and under Google Analytics 4, click "configure".
- Select the account you wish to integrate with GA4.
- Enter the Measurement ID and API secret for your GA4 property and toggle the switches on for each number you want to activate GA4 integration.
- Click Save.
Congratulations, your GA4 integration is now set up! 🎉
You might also like to:
- Mark phone_lead events as key events (formerly called conversions)
- Create custom definitions to view WildJar data in Google Analytics (optional)
Mark phone_lead events as key events
- Sign in to your Google Analytics account and select the relevant GA4 property.
- Click Admin from the main menu.
- Select Events
- If a phone_lead event has already been received in GA4, toggle the switch next to the phone_lead event on to mark it as a conversion:
If a phone_lead event hasn't been received in GA4 yet and doesn't appear in the Existing Events table, you can go to Admin, > Key Events, click New Key Event, type phone_lead as the event name and click Save.
Viewing WildJar data in Google Analytics 4
By default, WildJar sends call data along as additional properties with phone lead events which can be used in Google Analytics by creating custom definitions. This is completely optional, but you can add these additional custom dimensions and custom metrics to give additional context to your phone leads in GA.
Please note: Custom definitions will only appear in Google Analytics after the below steps have completed and does not apply to previously received events. You must have Editor access in GA4 to create custom definitions.
Custom Dimensions
The below fields are available as custom dimensions:
- tracking_source - the tracking source the call was received through
- call_status - the status of the call (answered, abandoned, missed)
- first_time_caller - whether the caller was a first time caller ("yes" or "no")
- ivr_option - if an IVR menu is configured, the name of the option which was selected
- source - the web source attributed to the call
- medium - the web medium attributed to the call
- gclid - the Google Click ID that generated the call
To create custom dimensions, please follow the below steps:
- Sign in to your Google Analytics account and select the relevant GA4 property.
- Click Admin from the main menu.
- Under Data Display, click Custom Definitions
- Click on the Custom Dimensions tab
- Click the Create Custom Dimension button
- Give the dimension a descriptive name and description
- Select Event as the Scope
- Select the Event Parameter or, if an event has not yet been received yet, copy or type the parameter name from the above list.
- Click Save
Custom Metrics
The below fields are available as custom metrics:
- call_duration - the call duration in seconds
- call_talk_time - the call talk time in seconds
To create custom dimensions, please follow the below steps:
- Sign in to your Google Analytics account and select the relevant GA4 property.
- Click Admin from the main menu.
- Under Data Display, click Custom Definitions
- Click on the Custom Metrics tab
- Click the Create Custom Metric button
- Give the metric a descriptive name and description
- Select Event as the Scope
- Select the Event Parameter or, if an event has not yet been received yet, copy or type the parameter name from the above list.
- Click Save
How to find your GA4 Measurement ID and API Secret
- Sign in to your Google Analytics account and select the relevant GA4 property.
- Click Admin in the bottom left of the screen.
- In the Property column, select Data Streams, then select the stream you want to send calls to:
- Copy your Measurement ID:
- Under Events, click Measurement Protocol API Secrets:
- Click Create and enter a nickname for your key and save.
- Copy the secret value: