Skip to main content Skip to search Skip to main navigation
Go to homepage
Configuring Google Tag Manager for Shopware 6
Do you haveaShopware 6 online shop and want to use Google Tag Manager to track all your data? To ensure you get valid data, it’s importantthat Tag Manager is integrated correctly. Only with accurate data can you gain valuable insights into your Shopware 6 shop and your users. Before we start integrating Tag Manager, you should have a basic understanding of what Google Tag Manager actually is.

What is Google Tag Manager used for?

Google Tag Manager enables you to track specific events on your Shopware 6 online shop. By using Tag Manager, you can incorporate so-called tags into your shop. Tag Manager makes this possible without having to modify the website’s code. This means you can track all the events users carry out on your online shop without needing any coding knowledge.

What data can be collected using Google Tag Manager?

With Google Tag Manager, you can track all events and the entire user behaviour on your Shopware 6 shop. For example, you can measure which pages were visited and how often. Or you can see which products users have purchased or which elements your users clicked on. You can also track any other events. However, some prior knowledge is occasionally required for advanced tag configuration. You should familiarise yourself with Google Tag Manager and your online shop. This is the only way to integrate event tracking correctly.

What are tags, triggers and variables?

You can collect data via Google Tag Manager. You can then send this data to tools such as Google Analytics, Google Ads, AWIN and many more. Within Google Tag Manager itself, so-called tags, triggers and variables are used. These are needed to track an event and determine which tool the data should be sent to. I’d like to briefly explain exactly what a tag, a trigger and a variable are. A tag is the snippet of code in which you define which tool the collected data should be sent to. With a trigger , you determine when the respective tag is fired, so that the data is then collected and sent. A variable is a value that you can use, for example, to output the data. Google Tag Manager already has a number of predefined variables that you can use. However, you can define your own variables at any time, as required.

How to set up Google Tag Manager for Shopware 6

Before you can start setting up tags, triggers and variables, you must create a Google Tag Manager account. You can create a free Tag Manager account via the Google Marketing Platform . When you click on ‘Get started for free’, you’ll be automatically taken to the following screen. Google Tag Manager Konto Einrichtung First of all, enter your company name here and select the relevant country. Next, you’ll move on to configuring the container. Here, you simply need to enter the URL of your Shopware 6 shop and select the target platform ‘Web’. You’ll then be shown the Google Tag Manager Terms of Service. Please read these carefully first. If you agree to the Terms of Service, simply accept them. You will then be redirected to your Google Tag Manager container. A window titled ‘Install Google Tag Manager’ will appear. Google Tag Manager Code Snippet In this window, you’ll see the two code snippets that need to be inserted. Google explains how to install these snippets in a quick guide.

Integrating Google Tag Manager via a Shopware 6 plugin

However, the easiest way to integrate Google Tag Manager into your Shopware 6 shop is via a plugin. We recommend the ‘Google Tag Manager & Google Analytics Enhanced E-Commerce Tracking for Shopware 6’ plugin. By using this plugin, you won’t even need to touch your online shop’s code during installation. Install the plugin in your Shopware 6 backend. You can now access the Google Tag Manager plugin via the ‘Marketing’ section in your Shopware 6 backend.Google Tag Manager Shopware 6 Plugin Open the plugin via this link and click on ‘Edit Container IDs’. Here, enter your container ID. You can find the ID of your Google Tag Manager container in the overview of your containers. Alternatively, ifyou’re inside the container, you’ll find it in the ‘Administration’ section and in the container’s navigation bar. Google Tag Manager Shopware 6 Plugin Container IDGoogle Tag Manager Shopware 6 Plugin Einstellungen

Creating tags, triggers and variables for Shopware 6

Once you’ve finished setting up your Google Tag Manager container, you can move on. Now you need to set up the individual tags, triggers and variables. As mentioned at the start of this post, you can track all the events you need. Do you need guidance on setting up the tags, triggers and variables? You can find this in our post ‘Google Tag Manager – Setting up tags, triggers and variables’. As a full-service Shopware agency, we offer not only the creation of online shops but also the integration of Google Tag Manager. We’ll support you in setting up a container. We’ll also take care of setting up your Google Analytics account for you. We also offer professional tracking for Shopware 6. This professional tracking package includes all the key events that every retailer should track in their online shop. Please feel free to contact us by email or phone if you need help setting up your Google Tag Manager. Our SEO experts will provide you with a free initial consultation and valuable tips for your online shop.