Google Analytics is the leading analytics platform by Google, now at the edge.
Edgee event | GA Event |
---|---|
Page | page_view |
Track | Name of the event |
User | user |
user
call, Edgee will send an user
custom event to GA4.
Additionally, the user’s data (user_id, anonymous_id, and properties) are stored on the device,
enabling proper attribution for subsequent page views and events.edgee/google-analytics
from the list of available components.Measurement ID
associated with your GA4 stream and click Save.edgee/google-analytics
as the component name:
view_item_list
: When displaying a list of productsselect_item
: When a user clicks on a product in a listview_item
: When a user views product detailsadd_to_cart
: When adding items to cartremove_from_cart
: When removing items from cartview_cart
: When viewing the shopping cartadd_to_wishlist
: When adding items to a wishlistbegin_checkout
: Start of checkout processadd_shipping_info
: When shipping information is addedadd_payment_info
: When payment information is addedpurchase
: When a transaction is completedrefund
: When a refund is issuedview_promotion
: When a promotion is viewedselect_promotion
: When a promotion is clickedtrack
event, with the name
property set to the event name.
For example, to track a purchase
event, you need to use a track
event with the name
property set to purchase
.properties
object to pass the parameters to Google Analytics.
currency
: The currency code (e.g., “USD”)value
: The monetary value of the transactiontransaction_id
: The transaction IDtax
: The tax amountshipping
: The shipping amountcoupon
: The coupon codeproducts
: Array of products with these key properties:
sku
: Product SKUname
: Product nameaffiliation
: Product affiliationcoupon
: Product coupondiscount
: Product discountindex
: Product indexbrand
: Product brandcategory
: Product categorycategory2
: Product category 2category3
: Product category 3category4
: Product category 4category5
: Product category 5list_id
: Product list IDlist_name
: Product list namevariant
: Product variantlocation_id
: Product location IDprice
: Product pricequantity
: Number of itemsproduct
object.
example: