Module-05: Google Analytics 4 Events Tracking
What are Google Analytics 4 (GA4) events?
All actions (interaction/activity) on a website or mobile
app by the users are Events in GA4.
For Example:
Clicking on a button
Pageview (Loading of a page in the browser window)
Downloading a file
Scrolling down the page etc.
In GA4, any user interactions with content from a web
page or a screen load can be tracked as an event.
Example of Web page element:
Video
Image
Button
Form
Scroll bar
External Link etc.
Types of events in Google Analytics 4 (GA4)
1. Automatically collected events
2. Enhanced Measurement events
3. Recommended events
4. Custom events
1. Automatically collected events
Automatically Triggered Events by GA4 which is pre-defined
user activities.
first_visit - First time a user visits a website or
launches an app
session_start - When a user engages the app or
website and starts a new session
user_engagement - This event is fired 10 seconds
after the visitor has stayed on a page
page_view - This event is triggered each time a web
page loads in the browser window
Where to find Automatically Collected Events in GA4?
Dashboard ---> Engagement ---> Events
2. Enhanced Measurement events
Which is also Automatically Triggered Events by for a certain
pre-defined user activities but we need to enable it.
Page view - Event name: page_view
Scroll - Event name: scroll (Could be custom
setup)
Outbound link click - Event name: click with the
parameter outbound: true
Site Search - Event name: view_search_results
Video Engagement - Events: video_start,
video_progress, video_complete
Source:
https://support.google.com/analytics/answer/921606
1?hl=en
GA4 Vimeo video Engagement Tracking
File Download - Event name: file_download
Form Tracking - (events: form_start, form_submit)
Where to find Enhanced Measurement Events in
GA4?
Dashboard ---> Engagement ---> Events
Source:
https://support.google.com/analytics/answer/9216061?
hl=en
3. Recommended events
Manually Implemented Events. It will work properly if we
use the exact event name & parameters which are
provided by GA4.
Generic (for all properties):
https://support.google.com/analytics/answer/9267735
Retail/Ecommerce:
https://support.google.com/analytics/answer/9268036
Jobs, education, real estate:
https://support.google.com/analytics/answer/9268037
Travel:
https://support.google.com/analytics/answer/9267738
Games:
https://support.google.com/analytics/answer/9267565
Events: Retail/Ecommerce
Event Trigger Parameters
add_payment_info when a user submits their coupon, currency, items, payment_type, value
payment information
add_shipping_inf when a user submits their coupon, currency, items, shipping_tier, value
o shipping information
add_to_cart when a user adds items to currency, items, value
cart
add_to_wishlist when a user adds items to currency, items, value
a wishlist
begin_checkout when a user begins coupon, currency, items, value
checkout
generate_lead when a user submits a value, currency
form or request for
information
purchase when a user completes a affiliation, coupon, currency, items,
purchase transaction_id, shipping, tax, value (required
parameter)
refund when a refund is issued affiliation, coupon, currency, items,
transaction_id, shippingtax, value
remove_from_cart when a user removes currency, items, value
items from a cart
select_item when an item is selected items, item_list_name, item_list_id
from a list
select_promotion when a user selects a items, promotion_id, promotion_name,
promotion creative_name, creative_slot, location_id
view_cart when a user views their currency, items, value
cart
view_item when a user views an currency, items, value
item
view_item_list when a user sees a list of items, item_list_name, item_list_id
items/offerings
view_promotion when a promotion is items, promotion_id, promotion_name,
shown to a user creative_name, creative_slot, location_id
4.Custom Events
A custom event is an event with a name and set of
parameters that you define so you can collect
information that's specific & important for your business.
Before creating this event you have to ensure that there
are no Automatic, Enhanced Measurement &
Recommended Events that already provide what you
want.
For Example:
Website Menu Click, Phone no click, Email link click etc.
Specific any page visits which are important for your
business etc.
Event Collection limits:
Description Limits Can I delete items if
I'm close to the
limit?
Distinctly named 500 per No
events property
Event parameters 25 Yes
per event
Setup Phone Number Clicks tracking in GA4
Setup Email link Clicks tracking in GA4
Button Click Tracking in GA4
Form Submission Tracking in GA4
Cross-domain Tracking in GA4
WhatsApp
tawk.to
Dimensions & Metrics
আসুন সহজেই বুঝে ফেলি
GA4-এ Dimensions & Metrics জিনিস টা কি
ধরুন –
২২ – ২৭ বছর বয়সের একদল ভিজিটর (ইউজার)
মোবাইল দিয়ে ক্রোম ব্রাউজারে USA থেকে google.com-এ কোনো একটা কীওয়ার্ড
লিখে সার্চ দিয়ে আপনার ওয়েবসাইট পাইলো এবং ভিজিট করলো ।
এটাকে যদি একটু সাজিয়ে লিখি –
Source: organic search
Country: USA
Age range: 18 – 24, 25 – 34
Device: Mobile
Browser: Chrome
এই বৈশিষ্ট্য বা Attribute গুলোকেই বলে – Dimensions in GA4.
তাহলে Metrics ?
এবার ধরুন –
দিন শেষে আপনার ওয়েবসাইটে টোটাল ইউজার ছিল ৫০ জন এবং এদের মধ্যে ২০ জন
প্রথম বারের মতো ওয়েবসাইট ভিজিট করেছে পাশাপাশি এদের মধ্যে থেকে ১২ জন
ভিজিটর যারা ওয়েবসাইটে ১০ সেকেন্ড-এর বেশি সময় ধরে ছিল ।
এটাকে যদি আবার সাজিয়ে লিখি –
Users: 50
New users: 20
Engaged sessions: 12
এক কথায় যাদের নিউমেরিক ভ্যালু আছে তারাই – Metrics in GA4.
Source:
https://support.google.com/analytics/answer/9143382
Custom Dimensions
Attribute/characteristics of -
Visitors (users) or - Client id, membership level etc.
Events (search term, percent scrolled etc.)
to your website that cannot be measured by any
default/built-in dimension in GA4.
Scope of Custom Dimensions:
1.User Scoped custom dimension(User
Properties)
Source: Predefined user dimensions in GA4
2.Event Scoped custom dimension(Event
Parameters)
User Scoped custom dimension(User Properties)
Google Analytics (GA) Client ID is stored in a cookie
named: _ga
Use a custom javascript variable in GTM to slice the
first 6 characters in the _ga cookie and discard them.
function() {
return {{GA4 - Client ID}}.slice(6);
}
Use this variable to GA4 Config Tag
Create User Scope Custom Dimension: