Integrating with Google Analytics 4 using Google Tag Manager: Setting up GA4 Event Tags

Configure your Google Analytics 4 Event tags using our guide below.

Last Updated 07 July 2023

Note: Our integrations with Google Tag Manager and Google Analytics 4 seamlessly integrate with our Kobas Ordering App or CIC. If you need assistance with setting up our Customer Interaction Centre, please email support@kobas.co.uk.

 

Jump to:

 

Top Tip: To learn more about what our custom parameters are, and how to view them in Google Analytics 4 see our recommended custom dimensions article.

Kobas GA4 Event tags 

These events let you measure additional features and behaviour allow you to generate more useful reports in Google Analytics 4. Because these events require additional context to be meaningful, they are not sent automatically. Use this article to see the required and optional parameters for each event.



Add to cart

This event signifies that an item was added to a cart for purchase.

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: add_to_cart
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
child_venue_name childVenueName No
consumption_type consumptionType No
customer_register_type customerRegisterType No
logged_in_while_ordering loggedInWhileOrdering No
selected_venue selectedVenue No
  • More Settings: Ecommerce:
    • Send Ecommerce Data: Tick box to select
    • Data Source: Data Layer
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: begin_checkout
    • This trigger fires on: All Custom Events

Back to the top

 


Begin checkout

This event signifies that a user has begun a checkout.

This event will fire when the user sees the review basket page on your Online Ordering site. 

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: begin_checkout
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
child_venue_name childVenueName No
consumption_type consumptionType No
customer_register_type customerRegisterType No
logged_in_while_ordering loggedInWhileOrdering No
selected_venue selectedVenue No
  • More Settings: Ecommerce:
    • Send Ecommerce Data: Tick box to select
    • Data Source: Data Layer
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: begin_checkout
    • This trigger fires on: All Custom Events

Back to the top

 


Login

Send this event to signify that a user has logged into their loyalty account. 

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: login
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
signedIn login No
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: login
    • This trigger fires on: All Custom Events

Back to the top


Order Rejected

This event signifies when an order is rejected by the system.

This event will fire when the user sees the 'Order Rejected' message on your Online Ordering site. 

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: order rejected
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
items ecommerce.items Yes
value ecommerce.value Yes
currency ecommerce.currency Yes
child_venue_name childVenueName No
consumption_type consumptionType No
customer_register_type customerRegisterType No
guest_checkout isGuestCheckout No
logged_in_while_ordering loggedInWhileOrdering No
payment_type paymentType No
selected_venue selectedVenue No
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: order_rejected
    • This trigger fires on: All Custom Events

Back to the top

 


Purchase

This event signifies when one or more items are purchased by a customer.

This event will fire when the user sees the 'Order Confirmed' message on your Online Ordering site. 

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: purchase
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
child_venue_name childVenueName No
consumption_type consumptionType No
customer_register_type customerRegisterType No
guest_checkout isGuestCheckout No
logged_in_while_ordering loggedInWhileOrdering No
payment_type paymentType No
selected_venue selectedVenue No
  • More Settings: Ecommerce:
    • Send Ecommerce Data: Tick box to select
    • Data Source: Data Layer
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: purchase
    • This trigger fires on: All Custom Events

Back to the top

 


View Item

This event signifies when one or more items are purchased by a customer.

This event will fire when the user sees the 'Order Confirmed' message on your Online Ordering site. 

Tag configuration:

  • Tag type: Google Analytics: GA4 Event
  • Measurement ID: Copy and paste our GA4 Measurement ID here
  • Event Name: view_item
  • Event Parameters:
Parameter name Value Required?

This is the name that GA4 will look for

The name of the variable GTM will search for in the Data Layer.

Press the plusicon to the right of this box, then + in the top right to create a new data layer variable

Yes/No
child_venue_name childVenueName No
consumption_type consumptionType No
customer_register_type customerRegisterType No
logged_in_while_ordering loggedInWhileOrdering No
selected_venue selectedVenue No
  • More Settings: Ecommerce:
    • Send Ecommerce Data: Tick box to select
    • Data Source: Data Layer
  • Triggering Configuration: 
    • Trigger type: Custom Event
    • Event Name: view_item
    • This trigger fires on: All Custom Events

Back to the top