Google Analytics 4 Property with Shopware

12.11.2020
by Meike Müller
Shopware
Banner

It's here, the new Analytics 4 property. The problem, however, is that Google only creates this property by default via the wizard. The "Google Services Plugin" from Shopware, however, can only work with UniversalAnalytics and the very old Analytics property. If you enter the new ID, called the measurement ID that begins with "G-", in the Google Services plugin in the Shopware backend, this will not help you. The new Analytics 4 property requires implementation via the GoogleTagManger, but the Shopware plugin loads Universal Analytics, or UA for short.

We will now briefly show you how to connect Shopware and Google Analytics, despite this new hurdle. Do you have any further questions or need help with your Shopware online store? - Feel free to contact us!

Reading time 2 min

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

First, go to Administration and add a new property. Here you must now show the Advanced options to also create a Universal Analytics property. We have also ticked the box here that analytics should be optimized for the 4 property. Because the goal should be to switch completely to the 4 version at some point.

Administration -> Create property -> Show advanced options -> Create Universal Analytics property -> Create both Google Analytics 4 and Universal Analytics property + Activate optimized analyses for Google Analytics 4 property

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

Anzeige Property 4

Here you will also find the UA ID which you need to enter in the Shopware Google Services plugin:

Anzeige UA-ID

Done! Your store should now be tracked as usual.

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

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

What is your project? If you want to tell us about it, we'll call you back!

 
Meike
Meike
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.

You always want to stay at the cutting edge of technology Don't miss any more news and blog posts.
We also have the following interesting posts from our tech blog for you on this topic
This has changed in Shopware 6 since the last update!

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

The feature comparison - Shopware 5 vs Shopware 6

The big feature comparison between Shopware 5 and Shopware 6 - from A for salutation to Z for payment methods

Shopware 6: What are dynamic product groups?

What are dynamic product groups in Shopware and what can they be used for? And how can you create them? You can find out all this in our article.