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.




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.

Show all news (84)

We also have the following interesting posts from our tech blog for you on this topic
Discover the 5 skills every good Shopware developer should have

Are you interested in Shopware and want to get started as a developer? Then we have tips for you on how to become the ultimate Shopware developer!

This is what has changed in Shopware 6 since the last update!

Learn about the improvements and new features from Shopware 6.0 to Shopware and stay up to date on the topic of online store creation.

Shopware shipping costs note for shipping abroad

This is how you can add the shipping note for shipping abroad in Shopware - Shopware Hacks from EXWE that will make your life easier.
+49 231 93149827