Install and implement Usercentrics plugin
Set up Usercentrics
Log in to your Cookiebot account and start the configuration.
Set language
Usercentrics is set to English by default. It is recommended to implement all store languages in Usercentrics.
Activate Google Consent Mode
We recommend that you use Google Consent Mode from Usercentrics.
Activate Google Consent Mode
Add Google Tag Manager
Add Google Analytics
This step must now be repeated for all further tracking codes.
Google Ads
This step must now be repeated for all further tracking codes.
Visual customization of the Usercentrics Consent Banner
You can make visual adjustments in the “Appearance” area
We recommend selecting the dialog option. This usually increases interaction with the consent banner.
Publish Usercentrics
All important settings have now been made. You must now publish the change.
Usercentrics Script Code
We recommend that you use the “Manual Blocking” method. With the “Auto Blocking” method, errors sometimes occur in the Shopware frontend.
Installing and setting up the Usercentrics plugin
Switch to the Shopware backend and install the plugin for Cookiebot or integrate the code directly into the source code of the website.
You do not necessarily have to implement the code via the plugin but can also integrate it via the source code or directly via the Google Tag Manager.
If you want to implement Usercentrics via the Google Tag Manager, make sure that you have selected “Advanced Consent Mode” in our plugin, as the Tag Manager is only loaded when someone agrees to the consent, which does not happen.
Test Usercentrics in the Shopware Store
The setup of Usercentrcis is now complete. Clear your store cache and open your store in the front end. Your Usercentrics content banner should now appear.
Setup Shopware Plugin | GA4 & Google Ads with Google Tag Manager
Please deactivate all other Tag Manager, GA4 and Google Ads plugins, otherwise tracking errors may occur.
Also check the analysis tab in the sales channel – nothing should be filled in here.
Install the plugin from the Shopware Store and open the plugin in Shopware Backend.
Go to the backend of your Shopware store and go to the Extensions section
Setting the sales channels
Our plugin is compatible with the sales channels. You have the option of using the same settings for all sales channels or making individual settings for each sales channel. For example, it is possible to use a different Tag Manager container for each sales channel. If you have selected all sales channels, the settings are valid for all your sales channels.
Activate and deactivate plugin
You can choose to deactivate the plugin for certain channels, in which case no source code of the plugin will be executed on the individual sales channel.
With the Cookiebot setting, the plugin listens to event changes in Cookiebot. Also, the Tag Manager is only loaded by default if you agree to the consent banner.
Google Tag Manager configuration
Google Tag Manager Container ID
Copy your Google Tag Manager ID from the Google Tag Manager. The Tag Manager ID starts with GTM-XXXXXX.
Manual Tag Manager Code
This function makes it possible to integrate an individual Google Tag Manager code and to implement a server-side Tag Manager. We recommend using the standard code, if the function is deactivated the user-defined script will not be loaded.
Please clarify in advance with your data protection officer whether you may use the “Advanced Consent Mode”, as the legal situation is not clear.
Consent settings
Consent Banner
With the setting “Usecentrics -Consent Banner”, the plugin listens to event changes in Usercentrics. Also, the Google Tag Manager is only loaded by default if you agree to the Consent Banner.
Googel Consent Mode V2
With the Usercentrics setting, the plugin listens to event changes in the Usercentrics Consent Banner. Also, the Tag Manager is only loaded by default if you agree to the Consent Banner. All values are only set to “granted” after confirmation.
ad_user_data: ‘granted’,
ad_personalization: ‘granted’,
ad_storage: ‘granted’,
analytics_storage: ‘granted’
More information on Consent Mode V2
Deactivate Google Consent Mode V2, as Usercentrics already offers a Consent Mode Manager by default.
Please make sure that you have activated Consent Mode V2 in Usercentrics!
Google Advanced Consent Mode
By default, the Tag Manger is only loaded when the user confirms the Consent Banner. With the Advanced Consent Mode, the Google Tag Manger is loaded with the Consent Status even without consent:
‘ad_storage’: ‘denied’,
‘ad_user_data’: ‘denied’,
‘ad_personalization’: ‘denied’,
‘analytics_storage’: ‘denied’
Please clarify in advance with your data protection officer whether you may use the “Advanced Consent Mode”, as the legal situation is not clear.
Please clarify in advance with your data protection officer whether you may use the “Advanced Consent Mode”, as the legal situation is not clear.
GA4 configuration
You have the option to choose which tracking tools you want to use. If you deactivate a tracking tool, the DataLayer is not loaded. If you activate a tracking tool, please make sure that you have also imported the corresponding tags in the Tag Manager.
Selection of marketing channels
You have the option to choose which tracking tools you want to use. If you deactivate a tracking tool, the DataLayer is not loaded. If you activate a tracking tool, please make sure that you have also imported the corresponding tag in the Tag Manager. You have the choice of the following tracking tools: Google Ads, Meta Pixel, Microsoft Advertising (bing Ads), Pinterest Ads, TikTok Ads
Setting the sales (values) for the marketing channels
You can set the turnover for the marketing channels to be with tax, without tax, with shipping or without shipping. The setting applies to all marketing channels except GA4.
Contact form value (conversion value)
You can define how valuable a completed contact form is for your company. Simply enter the value.
Coupons configuration
You can set whether graduated prices or RRP (strike prices) should be transferred to Google Analytics as coupons.
Google Tag Manager environment
If you use a special Google Tag Manger environment, for example for your testing system. You can enter it here.
Download the container templates
You can download the respective container for each ad channel. All settings have already been made here.
All you have to do is enter your personal Pixel ID under Variables.
GA4 Import Google Analytics 4 Container
Download the GA4 container.
Open your Google Tag Manager container
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.
Now switch back to the Tag Manager and open the Variables area
Now all that remains is to publish the container so that it can be displayed to users on the website.
Import Google Ads Container
Download the GA4 container.
Open your Google Tag Manager container
If you click “Overwrite”, all your other tags will be removed.
If you want to keep the existing tags, click “Merge”.
Google Conversion ID and Conversion Label
Now you only need to replace two variables. Once the conversion ID and the conversion label for the purchase event.
If you use “Enhanced Conversion”, select “via Google Tag Manger” instead of “Google Tag”.
Now switch back to the Tag Manager and open the Variables area
Now all that remains is to publish the container so that it can be displayed to users on the website.