All Collections
3rd party Integrations
Google Analytics
How to track Events in new Google Analytics 4 (GA4)?
How to track Events in new Google Analytics 4 (GA4)?

You can track Bookings, Tips, Feedback, contact us and Page views through GTM in GA4 account

Eric Plamondon avatar
Written by Eric Plamondon
Updated over a week ago

To track events in Google Analytics 4 (GA4), we would need to add events and then wait for atleast 24 hours for it to appear.

Please follow the below steps to create events in GA4:

Step 1: In your GA4 property, go to Admin

Step 2: Go to "Events" and click "Create event"

Step 3: Now we will create multiple events in our GA4 account -

Once you have created events in GA4, proceed to create Triggers and Tag in Google Tag Manager. LINK


Please follow the below detailed steps with screenshots -

Step 1: In your GA4 property, go to Admin

Step 2: Go to "Events" and click "Create event"

Step 3: Now we will create multiple events in our GA4 account -

3 a) Event to track when a Booking is created by the consumer online

If you have multiple Booking Pages, you need to create event for each of your Booking page like below -

Name of the Booking Page should exactly match on your GA4 -

To grab the name of your Booking Page, visit your Booking Page and copy the one shown with arrow in the below screenshot -

Inside GA4, please add events like below -

Custom event name:

Booking

Matching conditions:

event_name: booking

app_name: miocommerce

title: {{Name of the Booking Page}}

For a Booking Page named - Retail/Post Construction Cleaning

For a Booking Page named - Window Cleaning

3 b) Event to track when the Contact Us button is clicked by the consumer

Custom event name:

ContactUsbutton

Matching conditions:

event_name: contact_us

app_name: miocommerce

3 c) Event to track When a tip is left by an customer

Custom event name:

Tips

Matching conditions:

event_name: tip

app_name: miocommerce

3 d) Event to track when booking feedback is left by an customer

Create below event and save

Custom event name:

Bookingfeedback

Matching conditions:

event_name: feedback

app_name: miocommerce

3 e) Event to track when the Call To Action Plugin button is clicked by the consumer

Create below event and save

Custom event name:

CallToActionPlugin

Matching conditions:

event_name: call_to_action

app_name: miocommerce

Here is a quick summary of events that can be tracked -

Old GUA3 Event

New GA4/GTM event

Variables

Description

event: ‘CTA’

event: ‘call_to_action’

app_name: ‘miocommerce’

When the Call To Action Plugin button is clicked by the consumer

event: ‘Gift’

event: ‘gift’

app_name: ‘miocommerce’

When the Gift button is clicked by the consumer

event: ‘ContactUs’

event: ‘contact_us’

app_name: ‘miocommerce’

When the Contact Us button is clicked by the consumer

event: {{Name of the Booking Page}}

event: ‘booking’

app_name: ‘miocommerce’

title: {{Name of the Booking Page}}

When a Booking is created by the consumer

*** new

event: ‘quote’

app_name: ‘miocommerce’

title: {{Name of the Booking Page}}

*** Coming Soon

When a Quote is created by the consumer

*** new

event: ‘tip’

app_name: ‘miocommerce’

When a tip is left by an customer

*** new

event: ‘feedback’

app_name: ‘miocommerce’

When booking feedback is left by an customer

Once you have created events in GA4, proceed to create Triggers and Tag in Google Tag Manager.

Did this answer your question?