General description of changes
Changing the structure
The changes introduced are related to the differences between the structure of Google Analytics 4 and Universal Analitycs
The changes covered such areas as
- user triggered events
- event parameters
After making changes to ONe, all old events will be replaced with new events. All events that have not been changed remain as they are.
Old events > New events
Old event | New event |
EEProductAddToCart | add_to_cart |
EECheckout | view_cart |
EEProduct Details | view_item |
EETransaction | purchase |
EEProductClick | select_item |
removeFromCart | remove_from_cart |
EEProductsImpression | view_item_list |
New events and event items
New event | description |
add_to_wishlist | Adding a product to the shopping list |
New event items | description | What event is it sent with |
discount | Discount on the product | purchase add_to_wishlist add_to_cart view_cart view_item select_item view_item_list remove_from_cart |
coupon | Specifies the code or promotion that was used in the cart, at the product level and at the cart level (depending on the promotion configuration) | purchase view_cart |
item_list_name | Information about the name of the shopping list to which the product has been added | add_to_wishlist |
When I do not run extensive analytics
Enter a new tag in Google Tag managerGoogle Analytics: GA4 setup and run it with a rule based onPageView.
Please note that the default Page View rule does not work in ONE
When I run extensive analytics
Extensive tag configuration
Google Analytics: GA4 setup
Google analytics 4 divides elements into those related to the user and the event itself
If analytics related to monitoring user behavior after logging in is conducted, additional parameters related to user data should be entered in the configuration tag.
1. Introduction of new variables for the user
All variables are taken from the data layer
Sample configuration of the clienType variable
List of user-related variables
Variable designation | Description | sample value |
clientType | Customer type | B2B |
defaultWarehouse | Default customer warehouse | Main storehouse |
User's email address | m.duma@b2b.one | |
userName | User Name | Martin Duma |
managerName | Guardian name | Thomas Thomas |
believe | Customer's tax identification number | 8002002222 |
organization | Customer company name | Bratex Sp. z o.o. |
segment | Customer Segment | Installers/Szczecin |
2. Entering variables into the tag Google Analytics: GA4 setup
The selected variables should be entered in the segmentuser properties,this scope of information will be sent to each event that the logged in user will perform on the platform
In the left column, enter the designation (name) of the parameter - in the right column, enter the variable under which the indicated information is located
You can choose a variable from the list by clicking on the icon
3. Entering additional user parameters in Google Analitycs configuration 4
It comes in Google Analytics 4
Administration / Custom Definitions / Custom Dimensions
We introduce newCustom dimensionsForUser
Dimension nameis the designation of the parameter that will be visible in Google Analytics 4
Example configuration for the NIP parameter
List of all parameters
Adding new events
New events have appeared in the data layer related to monitoring user behavior that should be forwarded to Google Analitucs 4
Event name | When it is called |
add_to_cart | Adding to cart |
add_to_wishlist | Adding to the list |
purchase | Submit an order |
remove_from_cart | Removal of the product from the cart |
view_cart | Entering the shopping cart |
view_item | Access to the product card |
view_item_list | Product list view |
select_item | Go to products from the list |
PageView | View any page |
1. Introduction of new rules
all the events mentioned above should be entered as Rules In Google Tag Manager
Example configuration of one rule on the example of an event add_to_cart
Full list of rules based on entered events
2. Introduction of new events to Google Analytics 4
Based on the entered rules, new events should be introduced to Google Analytics 4
Example configuration of one event based on the add_to_cart event
Other configuration items
- Configuration tag - select the previously entered Tag from the listGoogle Analytics: GA4 configuration
- Entering the name of the event - in this caseadd_to_cart
- Additional configuration designationMore Settings / E-Commerce
- Entering a rule that will trigger the configured tag, in this case it is a ruleadd_to_cart\
- Entering a name for the tag - in this case GA4 - Event - add_to_cart
Full list of tags after configuration
When I have already configured the settings according to the Universal Analytics standard
- Performing a full setup
- Making changes to rules and variables linked to other tags (e.g. Pixel Meta Ads, Marketin Automation scripts, etc.)
List of relations between old and new event - changes in rules
Old event | New event |
EEProductAddToCart | add_to_cart |
EECheckout | view_cart |
EEProduct Details | view_item |
EETransaction | purchase |
EEProductClick | select_item |
removeFromCart | remove_from_cart |
EEProductsImpression | view_item_list |
Comments
0 comments
Please sign in to leave a comment.