Google Analytics 4 Property with Shopware

by Meike Müller

It is there, the new Analytics 4 Property. The problem is, however, that Google creates only this property by default via the wizard. The "Google Services Plugin" of Shopware, however, can only work with UniversalAnalytics and the very old Analytics Property. If you enter the new ID, called Measurement ID which begins with "G-", in the Google Services Plugin in the Shopware backend, this will not help you. The new Analytics 4 Property needs an implementation via Google Tag Manger, but the Shopware plugin loads Universal Analytics, UA for short.

We'll now briefly show you how to connect Shopware and Google Analytics, despite this new hurdle.

Create Analytics 4 Property and the old Universal Analytics at the same time

First, go to Administration and add a new property. Here you have to show the advanced options to create a Universal Analytics property as well. We have also checked here that analytics should be optimized for the 4 property. Because the goal should eventually be to switch completely to the 4 version.

Administration -> Create Property -> Show Advanced Options -> Create Universal Analytics Property -> Create both Google Analytics 4 and Universal Analytics Property + Enable Optimized Analytics for Google Analytics 4 Property

Google Analytics 4 Property mit ShopwareNow you have created an old UA property in addition to the new Property 4. Now switch to this new UA property at the top of the main navigation.

Anzeige Property 4

Here you will also find directly the UA-ID which you have to enter into the Shopware Google Services Plugin:

Anzeige UA-ID

Done! Now your shop should be tracked as usual.

Criticism: There is currently no simple solution to quickly store the actual new Analytics 4 property.

We will try to work out a solution in the coming weeks and present it here.




Was ist dein Projekt? Wenn du uns darüber erzählen möchtest, rufen wir dich zurück!

from 12.11.2020

Hello, my name is Meike. I take care of the EXWE back office and am responsible for our social media channels. All of our articles are meant to make your life easier and help you make decisions. Nevertheless, it can happen that something remains unclear, so: If you have questions about this article you can easily reach me at +49 231 93149827.

Du möchtest immer am Zenit der Technik bleiben? Keine News und Blogbeiträge mehr verpassen.
We also have the following interesting posts from our tech blog for you on this topic
JTL Connector: How to prevent overwriting during sync!

Our solution to the problem - what you can do if the JTL Connector in Shopware causes problems.

Shopware Performance Guide for Professionals

Our Shopware Performance Guide for professionals - tips and tricks to bring the performance of your online store to the next level.

Set up Google target for Shopware

How you can set up target plans for your online store with Google Analytics and how you can connect Google Analytics with Shopware, you can find out here.
+49 231 93149827