Articles on: Online store
This article is also available in:

Enhanced Ecommerce setup

Enhanced e-commerce allows you to configure the submission of additional data about orders from your online store to analytical services. For example, you can receive information about the order amount, names, and the number of products in Google Analytics and other services. It will allow you to analyze your sales more thoroughly to run your business more efficiently.

Order data can be passed on to the following analytical services: Google Analytics 4 (new version), Google Universal Analytics (old version), Google Tag Manager, and Facebook Pixel.

Note: This feature is for advanced users and allows you to pass data to third party analytics services. Our support team can only help with settings on the Weblium side, but apart from this guide, by default, we do not provide additional help with settings on the side of analytical services (for example, GTM, etc.).
Important: This feature is only available with a Pro subscription.

Content:
Enabling sending data
Google Analytics 4 (new version)
Google Universal Analytics (old version)
Google Tag Manager
Facebook Pixel

Enable data transfer


By default, enhanced e-commerce data is sent to all 4 analytics services mentioned above. But we recommend double-checking that all the settings you need are active. To do this, go to the site settings; in the Your store part, open the Settings section, and in the first General tab, there will be a section Online store analytics at the bottom. In this section, in the drop-down list, you can select the analytical services to which you need to send data on enhanced e-commerce:


Google Analytics 4


Events for Google Analytics 4


Receiving and processing events from the online store is automatic in Google Analytics 4 (GA4) as Enhanced Ecommerce is enabled by default.

Tip: Make sure you connected Google Analytics to your site. You can learn how to connect it in this guide.
Note: You can determine which version of Google Analytics is connected to your site by the short ID you added in the site settings: if it starts with G-, it is Google Analytics 4 (new version), if UA- — it is Google Universal Analytics (old version). The guide on Google Universal Analytics is below.

Below is a list of the events that are passed on to GA4 and the conditions for triggering each of them. Click on the name of the event to open the official Google documentation about it:
add_shipping_info — this event signifies a user has submitted their shipping information;
add_to_cart — this event signifies that an item was added to a cart for purchase;
remove_from_cart — this event signifies that an item was removed from a cart;
begin_checkout — this event signifies that a user has begun a checkout (the process of paying for the order);
purchase — this event signifies when one or more products is purchased by a user;
view_cart — this event signifies that a user viewed their cart;
view_item — this event signifies that a site visitor viewed a product page;
view_item_list — the user has been presented with a list of products.

When these events fire, they are transmitted to your Google Analytics 4 along with various parameters. You can view the events in different sections of Google Analytics; for example, all received events are displayed in Configure — Events:


Important: It may take up to 24 hours for Google Analytics to display received events.
Tip: You can find information about working with Google Analytics in its Help Center.

Google Universal Analytics


Events for Universal Analytics


Important: Google announced that it would retire Universal Analytics on July 1, 2023. Therefore, we recommend using Google Analytics 4, which is described above.

The list of events passed to Universal Analytics is the same as for Google Analytics 4 above. Still, the number of parameters passed with the event is smaller since Universal Analytics is an older service version. You can find more details about Google Universal Analytics in its documentation at this link.

The list of the events and the conditions for triggering each of them:
add_shipping_info — this event signifies a user has submitted their shipping information;
add_to_cart — this event signifies that an item was added to a cart for purchase;
remove_from_cart — this event signifies that an item was removed from a cart;
begin_checkout — this event signifies that a user has begun a checkout (the process of paying for the order);
purchase — this event signifies when one or more products is purchased by a user;
view_cart — this event signifies that a user viewed their cart;
view_item — this event signifies that a site visitor viewed a product page;
view_item_list — the user has been presented with a list of products.

Tip: Make sure you connected Google Analytics to your site. You can learn how to connect it in this guide.

Receiving events in Google Universal Analytics


Enhanced Ecommerce is disabled by default in Google Universal Analytics, so you should enable it to receive events:
Go to the Admin tab, select the desired View in the right column and click on the Ecommerce Settings section:


Toggle on the following 2 switches and click the Save button:


Note: You can find official manual from Google on enabling enhanced ecommerce at this link.

Done! From now on, you will receive events from your online store in Google Universal Analytics. One of the places where you can view the received events is Conversions — Ecommerce — Overview. Note that you should select the date you need in the upper right corner:


You can also view events in other sections of Google Analytics, such as Behavior — Events — Overview or Realtime — Events — Events (Last 30 minutes).

Important: It may take up to 24 hours for Google Analytics to display received events in all sections.
Tip: You can find information about working with Google Analytics in its Help Center.

Google Tag Manager


Events for Google Tag Manager


Setting up receiving events is done manually in Google Tag Manager (GTM). On the GTM side, you need to create a tag with a trigger with a custom event. In this case, the names of the events must match, letter for letter, those that are sent from Weblium's side and are listed below.

Note: Make sure you connected GTM to your site. You can find out how to connect it in this guide.

Below is the list of events sent to Google Tag Manager and the conditions for triggering each of them. Click on the name of the event to open the official Google documentation about it:
add_shipping_info — this event signifies a user has submitted their shipping information;
addToCart — this event signifies that an item was added to a cart for purchase;
removeFromCart — this event signifies that an item was removed from a cart;
checkout — this event signifies that a user has begun a checkout (the process of paying for the order);
purchase — this event signifies when one or more products is purchased by a user;
view_cart — this event signifies that a user viewed their cart;
productClick — this event signifies that a site visitor viewed a product page;
impressions — the user has been presented with a list of products.

Setting up events in GTM


To make Google Tag Manager receive events from your site and perform actions you need, you should create a trigger with a custom event on the GTM side. Follow the guide below to create a tag and its trigger with a custom event:
Open Google Tag Manager and go to your workspace. Then, open the Tags section and click the New button:


At the bottom, click on the Triggering section:


In the upper right corner, click on the plus:


Tip: In this section, you can find triggers that you have already created before.

Set any convenient for you trigger name (1), by which you will recognize it. Click on the field Trigger Configuration (2), scroll down the menu opened on the right, and click on the item Custom Event (3):


Set a name of the event you need in the Event name field. It must be exactly the same as one of listed above in the Events for Google Tag Manager section. Then click the Save button:


Note: Event names are case-sensitive. That is, capital and lowercase letters are different signs.

Customize the way you need Tag Configuration, which sets what will happen when the trigger you created is fired. For example, you can send a specific event to Google Analytics. Click the Save button after completing the tag configuration:


Click the Submit button in the upper right corner to make the tag you created work:


Done! Now, when a trigger (a certain customer's action) fires on your site, the information will be sent to Google Tag Manager. And then, it will be passed on to the service you specified when setting up the tag configuration.

Facebook Pixel


The list of events for Facebook Pixel (Facebook Analytics) and the conditions for triggering each of them:
AddShippingInfo — this event signifies a user has submitted their shipping information;
AddToCart — this event signifies that an item was added to a cart for purchase;
RemoveFromCart — this event signifies that an item was removed from a cart;
InitiateCheckout — this event signifies that a user has begun a checkout (the process of paying for the order);
Purchase — this event signifies when one or more products is purchased by a user;
ViewCart — this event signifies that a user viewed their cart;
ViewContent — this event signifies that a site visitor viewed a product page;

Important: Make sure you connected Facebook Pixel to your site. Find out how to connect it in this guide.

You can view the events received from the online store in the Data sources section in the Overview tab:


Tip: You can find more information about Facebook Pixel events in its official documentation.

Updated on: 12/07/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!