Skip to main content
All CollectionsMarketing
Google Tag Manager Events
Google Tag Manager Events

Which Google Tag Manager events does the Lunchbox storefront send and what data is included?

Luca D'Intino-Conte avatar
Written by Luca D'Intino-Conte
Updated over a year ago

Google Tag Manager is a powerful tool that allows businesses to easily track and analyze customer behavior on their website. One of the key features of Lunchbox Storefront is its integration with Google Tag Manager, a popular platform for managing tracking codes and analytics scripts on a website. In this article, we will cover the various Google Tag Manager events that are supported by Lunchbox Storefront and the details associated with each one.

What is Google Tag Manager?

Before we dive into the different events supported by Lunchbox Storefront, let's first understand what Google Tag Manager (GTM) is. GTM is a free tool from Google that allows businesses to easily add, manage, and update tracking codes and other scripts on their website without the need for manual coding. This makes it a valuable tool for businesses that want to track important metrics such as website traffic, conversion rates, and user behaviors.

What can I do with Google Tag Manager and Lunchbox Storefront?

By integrating Google Tag Manager with Lunchbox Storefront, businesses can get more detailed data and insights about their website visitors. This is because Lunchbox Storefront allows you to track specific events that occur on your website and send this data to Google Analytics for further analysis. Using this data, businesses can make informed decisions about their website and marketing strategies.

Events supported by Lunchbox Storefront

Lunchbox Storefront supports the following Google Tag Manager events and their associated details:

View Item

{
"event": "view_item",
"ecommerce": {
"currency": "USD",
"value": {item_value},
"items": [
{
"item_id": {item_id},
"item_name": "{item_name}",
"item_category": "{item_category}",
"location_id": "{location_id}",
"price": {item_price}
}
]
},
"gtm.uniqueEventId": 10
}

Add To Cart

{
"event": "add_to_cart",
"ecommerce": {
"currency": "USD",
"value": {item_value},
"items": [
{
"item_id": {item_id},
"item_name": "{item_name}",
"price": {item_price},
"quantity": {item_quantity},
"location_id": "{location_id}"
}
]
},
"gtm.uniqueEventId": 11
}

Remove From Cart

{
"event": "remove_from_cart",
"ecommerce": {
"currency": "USD",
"value": {item_value},
"items": [
{
"item_id": {item_id},
"item_name": "{item_name}",
"price": {item_price},
"quantity": {item_quantity},
"location_id": "{location_id}"
}
]
},
"gtm.uniqueEventId": 12
}

Begin Checkout

{
"event": "begin_checkout",
"ecommerce": {
"currency": "USD",
"value": {order_value},
"items": [
{
"item_id": {item_id},
"item_name": "{item_name}",
"price": {item_price},
"quantity": {item_quantity},
"location_id": "{location_id}"
}
]
},
"gtm.uniqueEventId": 16
}

Purchase

{
"event": "purchase",
"ecommerce": {
"transaction_id": {transaction_id},
"value": {order_value},
"tax": {tax_value},
"currency": "USD",
"items": [
{
"item_id": {item_id},
"item_name": "{item_name}",
"price": {item_price},
"quantity": {item_quantity},
"location_id": "{location_id}"
}
]
},
"gtm.uniqueEventId": 18
}

How to set up Google Tag Manager in Lunchbox Storefront

In order to start tracking these events on your website using Lunchbox Storefront, you will need to set up Google Tag Manager and create tags and triggers for each event. The exact steps for setting up these events may vary depending on your specific website and business needs. For more detailed instructions, please refer to our Help Center article on Integrating Lunchbox Storefront with Google Tag Manager.

Did this answer your question?