Creating events and tags
1. Setting up new tags:
A) Click NEW
B) Click choose tag type
C) Select Google Analytics > GA4 Event
2. Process to setup triggers
A) Select new
B) Click configuration area
C. Select Customer Event
Setup “view_item”
1. view_item trigger
2. view_item tag
Setup “Add_to_cart”
1. view_item trigger
2. view_item tag
Setup “purchase”
1. Purchase trigger
2. Purchase Tag
Setup Dining type tracking
1. Add a customer java script variable:
function() { var url = window.location.href; var subpath = url.split("/")[5]; return subpath; }
2. Add event parameter to your purchase event
FAQS
Ensure you have setup Page View Events
you must have setup a page view tag already:
Find my Google Stream ID
Head to https://analytics.google.com/analytics/ and into admin
And then into Data Streams
Then select the right arrow
Copy the G-measurement stream