Google Analytics 4 Guide Tracking Plugin for Shopware 6

Table of contents

Download the GA4 plugin for Shopware 6

Set up the perfect Google Analytics GA4 for Shopware 6 in just a few minutes. Download the plugin from the Shopware Store and start with the quick setup.

GA4 Import Google Analytics 4 Container

Download the GA4 container.

Open your Google Tag Manager container

Google Tag Manager Container importieren
Open your container and click on "Administration"
Google Tag Manager Tracking Container importieren
Click on "Import container" in the Container column
Google Tag Manager Container ID auswaehlen
Click on "Select container file" and select the file with the extension .json
GA4 Container Import Start
Select "Default Workspace" or your own workspace. Click on "Merge" and "Conflicting tags,... Rename"

If you click “Overwrite”, all your other tags will be removed.
If you want to keep the existing tags, click “Merge”.

GA4 Measurement ID

Now you just need to enter your GA4 measurement ID. You can find this in your GA4 account. Log in to Google Analytics 4.

Google Analytics GA4 EInstellung
Switch to the account you want to set up and click on "Settings" at the bottom left
Google Analytics 4 Datenstreams
Open "Data collection and ...." and click on "Data streams" and open your data stream
Google Analytics 4 Steam ID kopieren
Copy your GA4 measurement ID

Now switch back to the Tag Manager and open the Variables area

GA4 Mess ID Tauschen
In the Tag Manager overview, click on "Variables" and then on the variable "01-GA4 Mess ID"
GA4 Variable Mess ID
In the Tag Manager overview, click on "Variables" and then on the variable "01-GA4 Mess ID"

Now all that remains is to publish the container so that it can be displayed to users on the website.

Google Tag Manager veroeffentlichen
Click on the "Seden" button at the top right and publish your container
Google Tag Manager Version veroeffentlichen
You can optionally enter a version name. Click on the "Publish" button at the top right