This is a list of Tags, Triggers, and Variables recommended for a new partner to add to their container.
This is just a basic recommendation, additional tags, triggers, and variables can be added to track and send more events and data to GA4.
Tag |
Variables(User-Defined Variables) |
Image |
GA4 Configuration · Google Tag · Tag ID = GA4 Data Stream Measurement ID · Configuration Parameter: o cookie_domain = auto
TriggerAll Pages |
None |
|
GA4 Event - Login · Event Name: login · Measurement ID = GA4 Data Stream Measurement ID · Event Parameters o customer_id → {{Customer ID}} o hashed_email → {{Customer Hashed Email}}
TriggerCustom Login Event · Event Name: Login o Use regex matching · Fires on: All Custom Events |
Customer ID · Data Layer Variable Name: customerID Customer Hashed Email · Data Layer Variable Name: hashedEmail |
|
GA4 Event - Logout · Event Name: logout · Measurement ID = GA4 Data Stream Measurement ID
TriggerCustom Logout Event · Event Name: Logout o Use regex matching · Fires on: All Custom Events |
None | |
GA4 Event - Sign Up · Event Name: sign_up · Measurement ID = GA4 Data Stream Measurement ID · Event Parameters o customer_id → {{Customer ID}} o hashed_email → {{Customer Hashed Email}}
TriggerCustom Signup Event · Event Name: SignUp o Use regex matching · Fires on: All Custom Events |
Customer ID · Data Layer Variable Name: customerID Customer Hashed Email · Data Layer Variable Name: hashedEmail |
|
GA4 Event - First Purchase Completed · Event Name: First_Purchase_Completed · Measurement ID = GA4 Data Stream Measurement ID · Event Parameters o transaction_id → {{Transaction ID}} o value → {{Transaction Total}} o currency → {{Currency}}
TriggerCustom First Purchase Event · Event Name: FirstSale o Use regex matching · Fires on: All Custom Events |
Transaction ID · Data Layer Variable Name: transactionId Transaction Total · Data Layer Variable Name: transactionTotal Currency · Data Layer Variable Name: transactionCurrency |
|
GA4 Event - Purchase · Event Name: purchase · Measurement ID = GA4 Data Stream Measurement ID · Event Parameters o transaction_id → {{Transaction ID}} o value → {{Transaction Total}} o currency → {{Currency}} o items → {{Transaction Products}}
TriggerCustom Transaction Event · Event Name: Transaction o Use regex matching · Fires on: All Custom Events |
Transaction ID · Data Layer Variable Name: transactionId Transaction Total · Data Layer Variable Name: transactionTotal Currency · Data Layer Variable Name: transactionCurrency Transaction Products · Data Layer Variable Name: transactionProducts |
|
GA4 Event - Page View · Event Name: PageView · Measurement ID = GA4 Data Stream Measurement ID · Event Parameters o path → {{Path}} o screenName → {{Screen Name}} o title → {{Title}} o url → {{URL}}
TriggerCustom Page View Event · Event Name: PageView o Use regex matching · Fires on: All Custom Events
|
Path · Data Layer Variable Name: path Screen Name · Data Layer Variable Name: screenName Title · Data Layer Variable Name: title URL · Data Layer Variable Name: url |
|
GA – All Pages |
|
|
GA4 - Purchase |
|
Tag name |
GA4 - Purchase |
Tag configuration |
Google Analytics: GA4 Event |
Tag configuration |
|
Event parameters |
Event values |
transaction_id | {{Transaction ID}} |
value | {{Transaction Total}} |
currency | {{Currency}} |
items |
{{Transaction Products}} |
Trigger |
|
|