Browse by Topic

Google Analytics 4 | Events

Our native Google Analytics 4 integration supports the recommended ecommerce events listed in the table below. Each GA4 event and parameter corresponds to a BODL event schema.

For more information about the integration, see Setting Up Google Analytics 4.

 
 

Promotion Banner

The view_promotion event is triggered when a shopper views a promotional banner on the storefront.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
promotion_idstringbanner IDbodl_v1_view_banner.banner_id
promotion_namestringbanner namebodl_v1_view_banner.banner_name
 
 

Category Page

The view_item_list event is triggered when a shopper views a category page.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
item_list_idstringproduct category IDbodl_v1_product_category_viewed.category_id
item_list_namestringproduct category namebodl_v1_product_category_viewed.category_name
itemsarrayproducts displayed on the pagebodl_v1_product_category_viewed.line_items[]
 
 

Product Page

The view_item event is triggered when a shopper views a product page.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_product_page_viewed.currency
valuenumbertax-exclusive product pricebodl_v1_product_page_viewed.product_value
itemsarrayproduct displayed on the pagebodl_v1_product_page_viewed.line_items[]
 
 

Add To Cart

The add_to_cart event is triggered when a shopper adds a product to their cart.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_cart_product_added.currency
valuenumberproduct price multiplied by quantitybodl_v1_cart_product_added.product_value
itemsarrayproducts added to the cartbodl_v1_cart_product_added.line_items[]
 
 

Remove From Cart

The remove_from_cart event is triggered when a shopper removes a product from their cart.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_cart_product_removed.currency
valuenumberproduct price multiplied by quantitybodl_v1_cart_product_removed.cart_value
itemsarrayproducts removed from the cartbodl_v1_cart_product_removed.line_items[]
 
 

View Cart

The view_cart event is triggered when a shopper views the cart page.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_cart_viewed.currency
valuenumberfinal value of the cartbodl_v1_cart_viewed.cart_value
itemsarrayproducts in the cartbodl_v1_cart_viewed.line_items[]
 
 

Begin Checkout

The begin_checkout event is triggered when a shopper initiates the checkout process.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_begin_checkout.currency
valuenumberfinal value of the cartbodl_v1_begin_checkout.cart_value
couponstring arraycoupon codes applied to the cartbodl_v1_begin_checkout.coupon_codes
itemsarrayproducts in the cartbodl_v1_begin_checkout.line_items[]
 
 

Add Shipping Info

The add_shipping_info event is triggered when a shopper adds shipping information.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_add_shipping_information.currency
valuenumberfinal value of the cartbodl_v1_add_shipping_information.cart_value
couponstring arraycoupon codes applied to the cartbodl_v1_add_shipping_information.coupon_codes
shipping_tierstringshipping methodbodl_v1_add_shipping_information.shipping_method
itemsarrayproducts in the cartbodl_v1_add_shipping_information.line_items[]
 
 

Add Payment Info

The add_payment_info event is triggered when a shopper adds payment information.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_add_payment_information.currency
valuenumberfinal value of the cartbodl_v1_add_payment_information.cart_value
couponstring arraycoupon codes applied to the cartbodl_v1_add_payment_information.coupon_codes
payment_typestringpayment typebodl_v1_add_payment_information.payment_type
itemsarrayproducts in the cartbodl_v1_add_payment_information.line_items[]
 
 

Add Payment Info

The purchase event is triggered when a shopper completes checkout.

Documentation:

GA4 ParameterTypeDescriptionBODL Schema
currencystringstorefront currency displayedbodl_v1_order_purchased.currency
transaction_idstringorder IDbodl_v1_order_purchased.order_id
valuenumberfinal value of the cartbodl_v1_order_purchased.cart_value
couponstring arraycoupon codes applied to the cartbodl_v1_order_purchased.coupon_codes
shippingnumbershipping cost including taxbodl_v1_order_purchased.shipping_cost
taxnumbertax totalbodl_v1_order_purchased.tax
itemsarrayitems purchasedbodl_v1_add_payment_information.line_items[]
 
 

Refund

The refund event is triggered when one or more items is refunded within the BigCommerce control panel or via the BigCommerce API. This is an optional event that requires additional setup to track.

As the event takes place in the control panel rather than on the storefront, there is no BODL mapping. Equivalent BigCommerce API fields are listed in the tables below. Not every field is directly mapped and may require multiple calls.

Documentation:

Paramaters

GA4 ParameterTypeDescriptionAPI field
currencystringstorefront currency displayed/v2/orders/{order_id}.currency_code
valuenumberfinal value of the cart/v2/orders/{order_id}.total_inc_tax
shippingnumbershipping cost including tax/v2/orders/{order_id}.shipping_cost_inc_tax
taxnumbertax total/v2/orders/{order_id}.total_tax
couponstringcoupon name applied to the cart/v2/coupons.name
itemsarrayproducts/v2/orders/{order_id}/products.products

Item Parameters

GA4 ParameterTypeDescriptionAPI field
item_idnumberproduct ID/v2/orders/{order_id}/products.product_id
item_namestringproduct name/v2/orders/{order_id}/products.name
discountnumberdiscount applied to product/v2/orders/{order_id}/products.applied_discounts.amount
indexnumberposition of item in array/v2/orders/{order_id}/products
item_variantnumberproduct variant ID/v2/orders/{order_id}/products.variant_id
pricenumberproduct price after discounts/v2/orders/{order_id}/products.discounted_total_inc_tax
quantitynumberproduct quantity/v2/orders/{order_id}/products.quantity
item_brandstringproduct brand/v2/orders/{order_id}/products.brand
item_categorystringproduct category/v3/catalog/trees/categories
item_category2stringsecond category hierarchy/v3/catalog/trees/categories
item_category3stringthird category hierarchy/v3/catalog/trees/categories
item_category4stringfourth category hierarchy/v3/catalog/trees/categories
item_category5stringfifth category hierarchy/v3/catalog/trees/categories

Was this article helpful?