In order for Liine to send events to Google Analytics 4 (GA4), you’ll need to set up an appropriate GA4 property with an appropriate Data Stream. We will need your measurement ID and the API secret for the data stream. If you don't already have a suitable Data Stream, here's a link on how to set one up. If you need help finding existing credentials, support articles are linked in the table below.
Measurement ID | This can be found in the Google Analytics UI under: |
Measurement Protocol API Secret | To create a new secret, navigate in the Google Analytics UI to: Admin > Data Streams > choose your stream > Measurement Protocol > Create |
Events We Send
Once our implementation team has set up your integration, Liine will begin sending one or more of the following 5 events for the data that we capture. For forms and online bookings, we send over a single event. For calls, we will send 1 or more events depending on the type of call.
Name in GA4 | Description |
| Interaction Type: All |
| Interaction Type: Forms |
| Interaction Type: Calls (both analyzed and unanalyzed) An answered call has completed. This is sent only for calls where the called party has answered the phone, even if the call went to voicemail. Sent as soon as either party hangs up. |
| Interaction Type: Calls (only analyzed) |
| Interaction Type: Calls (only analyzed) |
| Interaction Type: Online Bookings |
| Interaction Type: Online Bookings |
Parameters we send
Depending on the event sent, we will send over any of the following data that we captured about the call to help you build out conversions or more granular events. We will always send over the Google Analytics client ID if captured during the visitor's journey on a website and when the interaction happened.
Parameter | Description |
| time the interaction happened |
| internal Liine ID used to identify the call |
| internal Liine ID used to identify the lead |
| internal Liine ID used to identify the customer |
| the type of customer interaction - call, form, online booking |
| the outcome of the call if there is an opportunity to book a new appointment - values can be ‘Booked’ or ‘Not Booked’ |
| the direction of the call, inbound or outbound |
| the first marketing channel touched by the customer |
| the most recent marketing channel touched by the customer |
| the first treatment type the customer was interested in
|
| treatment type of the customer’s most recent interaction |
| the first location the lead interacted with |
| the most recent location the lead interacted with |
| URL the customer landed on for their first interaction |
| URL the customer landed on for their most recent interaction |
| URL directing the customer to the landing page for their first interaction |
| URL directing the customer to the landing page for their most recent interaction |
| (Calls Only) the duration of the call |
| the type of call (New Lead, New Lead Follow-up, Existing Patient, Not a New Lead Call) determined after analysis |
| if this was the customer's first interaction |
| if the customer has submitted a form multiple times an internal ID will be generated for the same customer linking the multiple forms |
Note: When we send over an event, we will always send the event with the time that matches when the call, form or online booking hit our system. For example, if a call happens at 10:30am, and the called was scored at 5pm, the event would be backdated to 10:30am.
Note: If a lead only has one interaction their initial and last touch point will be the same.