Update time: January 13, 2025
This article introduces Recommended Events.
Meet Recommended Events
Recommended events are events with predefined names and parameters by Google. The event names and parameters are fixed. You need to set up sending data to these events, and the data will be included in the report.
Recommended Events Categories
Recommended events are divided according to industry:
- For all properties : Available in all industries
- For online sales : Applicable to retail, e-commerce, education, real estate and tourism industries, it is an e-commerce report.
- For lead generation:useful for business-to-business sales, automotive sales, insurance sales, or generally for when conversions occur offline.
- For games:Suitable for the gaming industry.
For all properties
Event | Trigger when |
---|---|
ad_impression | a user sees an ad impression, for app only |
earn_virtual_currency | a user earns virtual currency (coins, gems, tokens, etc.) |
join_group | a user joins a group to measure the popularity of each group |
login | a user logs in |
purchase | a user completes a purchase |
refund | a user receives a refund |
search | a user searches your content |
select_content | a user selects content |
share | a user shares content |
sign_up | a user signs up to measure the popularity of each sign-up method |
spend_virtual_currency | a user spends virtual currency (coins, gems, tokens, etc.) |
tutorial_begin | a user begins a tutorial |
tutorial_complete | a user completes a tutorial |
For online sales
Event | Trigger when |
---|---|
add_payment_info | a user submits their payment information |
add_shipping_info | a user submits their shipping information |
add_to_cart | a user adds items to cart |
add_to_wishlist | a user adds items to a wishlist |
begin_checkout | a user begins checkout |
generate_lead | a user submits a form or a request for information |
purchase | a user completes a purchase |
refund | a user receives a refund |
remove_from_cart | a user removes items from a cart |
select_item | a user selects an item from a list |
select_promotion | a user selects a promotion |
view_cart | a user views their cart |
view_item | a user views an item |
view_item_list | a user sees a list of items/offerings |
view_promotion | a user sees a promotion |
For lead generation
Event | Trigger when a user… |
generate_lead | submits a form online or submits information offline |
qualify_lead | is marked as fitting the criteria to become a qualified lead |
disqualify_lead | is marked as disqualified to become a lead for one of several reasons |
working_lead | contacts or is contacted by a representative |
close_convert_lead | became a converted lead (a customer) |
close_unconvert_lead | is marked as not becoming a converted lead for one of several reasons |
For games
Event | Trigger when |
---|---|
earn_virtual_currency | a user earns virtual currency (coins, gems, tokens, etc.) |
join_group | a user joins a group to measure the popularity of each group |
level_end | a user completes a level in the game |
level_start | a user starts a new level in the game |
level_up | a user levels-up in the game |
post_score | a user posts their score |
select_content | a user selects content |
spend_virtual_currency | a user spends virtual currency (coins, gems, tokens, etc.) |
tutorial_begin | a user begins a tutorial |
tutorial_complete | a user completes a tutorial |
unlock_achievement | a user unlocks an achievement |
Case Presentation: login Event
Suppose I want to track the recommended event login. This event is triggered by the login event. First, what are the parameters of this event? Just click login in the table above, and you can see:
Event Parameter Name | Type | Required | Example value | Description |
---|---|---|---|---|
method |
string |
No | The method used to login. |
It has a parameter method, which indicates the method used to log in. It can be Facebook, Google, Email, Phone, etc., and replace it according to the actual login method of the user.
Step 1 :Add dataLayer.push Code
When the user logs in, the data is sent through dataLayer.push, the sample code is as follows:
<code dir="ltr"><span class="pun">dataLayer.push({</span><span class="str">"event":</span> <span class="str">"login"</span><span class="pun">,</span> <span class="pln"> method</span><span class="pun">:</span> <span class="str">"Google"</span> <span class="pun">});</span></code>
This method is the dataLayer.push method, read more : GA4 Event Tracking Series ⑩ —— Custom Events (dataLayer.push Method)
Step 2 :Set Up the Variable
In GTM, click「 Variables」——「New」——「Choose a variable type to begin setup…」——「Data Layer Variable」, name it “dlv-method”, and then set as follows:
Where dlv means Data Layer Variable.
Step 3 :Set Up the Trigger
In GTM, click 「Trigger」——「New」——「Choose a trigger type to begin setup…」——「Custom Event」 name it “Custom Event-Login”, and then set as follows:
The event name is login, which is actually the event in dataLayer.
Step 4 :Set Up the Tags
In GTM, click 「Tags」——「New」——「Choose a tag type to begin setup…」——「Google Analytics: GA4 Event」, name it “GA4-Event-Login”, and then do as follows set up:
Step 5 : Preview and Publish
Next is the Preview test:
Tags is triggered and can be published.
Read More:
Step 6 : Verify Data in Reports
Generally, after 24 hours, we can see the data in GA4, such as:
Read More:
- GA4 Event Tracking Series ⓪ —— Rules and Limits for GA4 Events
- GA4 Event Tracking Series ① —— Automatically Collected Events
- GA4 Event Tracking Series ② —— Enhanced Measurement Events
- GA4 Event Tracking Series ③ —— Recommended Events
- GA4 Event Tracking Series ④ —— Custom Events (gtag Method)
- GA4 Event Tracking Series ⑤ —— Custom Events (Attributes Method)
- GA4 Event Tracking Series ⑦ —— Custom Events (addEventListener Method)
- GA4 Event Tracking Series ⑧ —— Custom Events (jQuery Method)
- GA4 Event Tracking Series ⑨ —— Custom Events (ga-data Method)
- GA4 Event Tracking Series ⑩ —— Custom Events (dataLayer.push Method)
- GA4 Event Tracking Series ⑪ —— Create Event(Codeless Event Tracking)
- GA4 Event Tracking Series ⑫ —— Modify Event