Google Analytics 4 (GA4) is a powerful tool that enables you to monitor and analyze user interactions across websites and apps. To make informed decisions and enhance marketing efforts, it’s crucial to track how users engage with your platform. When it comes to Hayley, tracking specific user events in GA4 will provide valuable insights into user behavior, helping you optimize performance.
To track user engagement from Hayley events in GA4, we need to know the event name, parameters, and custom dimensions specific to Hayley. This article lists all the required details to track Hayley events in GA4.
1. Hayley Click Data Definition in Hyly Tags (Relevant Parameters):
Event Name: h_click
Event Parameters Table:
Parameter Name | Values | Definition |
h_page_type |
hayley |
If the click happened on Hayley chat, then the parameter takes hayley as the value. |
h_clicked_location |
scheduler_submit contact_us_submit community info photo photos find_apartment bedrooms move in date community_info schedule_tour contact_us |
The button name that was clicked in hayley chat by user When value is scheduler_submit it shows tour scheduling When value is contact_us_submit it shows guest card submission |
source |
Session source associated with the event. |
|
medium |
Session medium associated with the event. |
2. Custom Events Definition for Schedule Tour and Contact Form Submission:
Custom Event Name |
Event Definition |
Description |
hayley_scheduler_submit |
event_name = ‘h_click’ h_page_type = ‘hayley’ h_clicked_location = ‘scheduler_submit’ |
Counts the number of Tour Scheduler forms submitted on the property website using Hayley. |
hayley contact us submit |
event_name = ‘h_click’ h_page_type = ‘hayley’ h_clicked_location = ‘contact_us_submit’ |
Counts the number of Contact Us forms submitted on the property website using Hayley. |
3. Custom Dimensions in GA4:
Dimension Name |
Scope |
Event Parameter |
Event Name |
Page Type |
Event |
h_page_type |
h_click |
Clicked Location |
Event |
h_clicked_location |
h_click |
Click Value |
Event |
h_click_value |
h_click |
Display Method |
Event |
h_display_method |
h_click |
Stream |
Event |
h_stream |
h_click |
Tour Type |
Event |
h_tour_type |
h_click |
Tour Date |
Event |
h_start_date |
h_click |
Tour Time |
Event |
h_start_time |
h_click |
Availability Date |
Event |
h_availability_date |
h_click |
Bedroom Type |
User |
h_bedrooms |
h_click |
Floor Plan Type |
User |
h_floor_plan_type |
h_click |
Floor Plan |
User |
h_floor_plan |
h_click |
Bath |
User |
h_bath |
h_click |
Area |
User |
h_area |
h_click |
Price Range |
User |
h_price_range |
h_click |
Unit |
User |
h_unit |
h_click |