For you as a merchant, it is important to know what's happening on your website. We generate some basic graphs to support you with that (if the statistics feature is included in your website package). If you’d like some deeper insights, you could consider using a service like Google Analytics. Google Analytics is a service that lets website operators view more detailed statistics regarding the use of their website, for example frequently accessed pages, or the location of their visitors. Thus, Google Analytics can help you to better understand the behavior and the needs of your visitors and to optimize your website accordingly. You can implement Google Analytics into your website via Google Tag Manager.
In 2020, Google introduced Google Analytics 4 (also known as GA4) which is designed to replace Google Universal Analytics. This article will only explain the implementation of Google Analytics 4. If you would like to implement Universal Analytics, the Google help article Deploy Universal Analytics with Tag Manager might help you with that.
Set up Google Analytics
Before you can connect Google Analytics to your website, you need to set it up accordingly. This includes creating a Google Analytics account (unless you already have one), a Google Analytics property, and a Google Analytics data stream. The Google help article [GA4] Set up Analytics for a website and/or app will help you with these steps.
When setting up the Google Analytics data stream, be sure to select the platform Web.
Add Google Analytics via Google Tag Manager
Once you've set up Google Analytics, you can integrate it into your website via Google Tag Manager. Please be sure to install and enable Google Tag Manager for your website before continuing with the next steps.
If you're not yet familiar with Google Tag Manager, its functionalities, and how to install or enable it for your website, we recommend to first read through the article Learn about Google Tag Manager.
Next, you need to create a Google Analytics 4 Configuration tag as described in the section The Google Analytics 4 Configuration tag of the Google help article Google Analytics 4 tags.
When creating the Google Analytics 4 Configuration tag, you will be asked to enter a measurement ID. To find this ID, select the data stream you have created in Google Analytics. The related measurement ID is displayed in the upper right corner.
Once you've created the Google Analytics 4 Configuration tag, Google Analytics is implemented into your website (via Google Tag Manager). You can now keep track of your visitors and their behavior.
Your visitors can decide to only accept the required cookies when being prompted to the cookie notice. In that case, the tracking of Google Analytics is automatically disabled and the respective analytics will not include data from these visitors.