Skip to main content

Google Analytics for 17hats Online Scheduling and Lead Capture Formsv

Now you can add your Google Analytics Tracking Keys inside your 17hats Lead Capture Forms and Online Scheduling Service to gain further insight.

Written by Amanda Rae
Updated today

Understanding how your leads and bookings are performing is key to growing your business with intention. With Google Analytics integration in 17hats, you can track exactly how people interact with your Lead Capture Forms and Online Scheduling, giving you deeper insight into what’s working and where opportunities exist.

In this article, we’ll walk you through how to add your Google Analytics tracking key, what events are automatically tracked, and how to make the most of the data available to you.


Add Your Tracking Keys

Open your Lead Capture Forms and/or Online Scheduling Service that you would like to add your Google Analytics Tracking Key to.

Find the Tracking Keys section. Add your key in the Google Analytics ID location.

You can find your Measurement Key in Google Analytics here.

🎩 Lead Capture Form

When adding your key to a Lead Capture Form, all you need to do is add the key and save the form.

17hats Google Analytics ID Tracking

🎩 Online Scheduling

When adding your key to an Online Scheduling Service, you will be prompted to select one of three different events:

1) Lead - Use when the service is associated with new leads, such as a consult.

2) Schedule - Use when the service is associated with current clients.

3) Purchase - Use when a lead or client is purchasing a service from you.

Once you have selected the type of event you wish to trigger, save your service.

Google Analytics Tracking with 17hats Online Scheduling


Events

In Google Analytics, an event is any action a user takes on your page. Instead of tracking sessions or pageviews alone, GA focuses on these individual interactions; giving you a more detailed view of how people engage with your business.

An event can be something like viewing a page, submitting a lead capture form, or booking a service. Each time one of these actions happens, GA records it as an event, along with additional details (called parameters) that provide more context about what occurred.

🎩 Lead Capture Form Events

Lead Capture Forms automatically send two events: Page_View and Generate_Lead.

Event

Description

Page_View

Event will trigger when the Lead Capture Form loads.

Generate_Lead

Event will trigger when a Lead Capture Form is submitted.

🎩 Online Scheduling Events

Online Scheduling sends either Purchase, Schedule, or Generate_Lead based on your selection, as well as, view_item.

Event

Description

Schedule

One of three options to select when setting up tracking. This event fires when a booking is made.

Purchase

One of three options to select when setting up tracking. This event fires when a booking is made.

Generate_Lead

One of three options to select when setting up tracking. This event fires when a booking is made and your Online Schedule Service is set to Lead.

View_Item

Event is triggered when viewing one online scheduling service.


Parameters

When 17hats fires an event like generate_lead we attach extra data to that event called parameters.

Some parameters Google automatically shows in reports such as page_location and page_title.

GA4 receives all the data that we send, but it will not show the date in reports unless you've registered it as a custom definition. Without registering, the extra data is ignored.

While completely optional, to see all the parameters we are sending, you need to create custom definitions.

🎩 How to create custom definitions in Google Analytics

  • Open your Google Analytics account

  • Go to Admin > Data Display > Custom dimensions or click here

  • Click "Create custom dimension"|

  • Enter the dimension name, set scope to Event, and enter the exact event parameter name. (See graph below)

  • Repeat for each parameter

  • Use the chart below to add your custom dimensions. Make sure the parameter matches exactly.

  • Once registered, it will take them 24 hours to activate them in GA4. However you will be able to see your events and parameters in Explore > Real Time Overview 20 minutes to an hours after setting them up.

Lead Capture Form Parameter

Description

content_name

Lead’s name from Lead Capture Form Submission

content_ids

17hats Lead Capture Form internal ID

content_title

The Lead Capture Form Title

content_type

Will always be ‘lead’

Online Scheduling Parameter

Description

service_name

17hats Online Scheduling Service Name

service_ID

Online Scheduling Service ID

name

Contacts Name at time of booking


🎩 Sample of what adding a Custom Definition looks like in GA4


Testing in Real Time

Once completed, you can test your data in Realtime Overview.

Pease note: it can take anywhere from 20 minutes to an hour for your data to be picked up by GA.

To test your events and parameters go to Reports, Realtime Overview. Then look for Event Count by Event Name.

🎩 Lead Capture Form:

  • View your Lead Capture Form

  • You should see the event page_view in the Event Count by Event Name section.

  • Click on page_view to see the event parameters such as page_location and page_title. You will also see your custom dimensions content_type and content_ids.

  • Click on the parameters to see the date 17hats sends over.

🎩 Online Scheduling:

  • Open your Online Scheduling Service.

  • You should see the event view_item in the Event Count by Event Name section.

  • Click on view_item to see the event parameters such as page_location and page_title. You will also see your custom dimensions service_id and service_name.

  • You can click on those parameters to see the data sent by 17hats.



FAQs

1) How are embedded forms tracked?

You can embed your Lead Capture Form and Online Scheduling. When looking at the parameters within Google Analytics, it will show the 17hats information not the location of the embedded form.

For example: If you embed a lead capture form on your homepage. The page_location parameter from the view_item event will give the URL of the lead capture form; NOT the url of your home page.

2) How can I see all my events?

You can see all the events and drill down into parameters by going to Engagement > Events in Google Analytics. Just remember that GA4 is about 24 hours behind. If you are looking for events happening >24 hours then you need to view at Reports > Realtime overview.

Did this answer your question?