Google Tag Manager

The tracking setup works via the Google Tag Manager Pixel and is done in a few steps.

Tip

You can configure the following steps per sales channel & language individually, which ultimately gives you more tracking flexibility.

Set up account

The first step is, as always, to set up the account. Of course, you can do it manually OR you import a ready-made template with all variables, triggers & tags for Facebook, Google Ads, Google Analytics, Pinterest & Hotjar, which we have prepared especially for you 😃

You can find the template here. If necessary you have to put the content of the page into a separate .json file (e.g. template.json): For Shopware 6.6 and newer:

For Shopware 6.5 and older:

To import the template, you have to go to Admin > Import Container in your Google Tag Manager container (Web) and upload the JSON file.

Make sure you change all the tracking IDs with the value "CHANGE_IT". This includes:

  • Facebook - Pixel ID

  • Google Ads - Conversion ID

  • Google Ads - Conversion - Add to cart - Conversion label

  • Google Ads - Conversion - Begin checkout - Conversion label

  • Google Ads - Conversion - Purchase - Conversion label

  • Google Ads - Conversion - View item - Conversion label

  • Google Ads - Conversion - View item list - Conversion label

  • Google Ads - Conversion - View search results - Conversion label

  • Google Ads - Remarketing - Add to cart - Conversion label

  • Google Ads - Remarketing - Purchase - Conversion label

  • Google Ads - Remarketing - View item - Conversion label

  • Google Analytics - Tracking ID

  • Hotjar - Site ID

  • Pinterest - Tag ID

Attention

Use at least Pixel Your Shop version 1.8.0 so that everything works smoothly with the GTM template. Previous versions have less data for Google Tag Manager.

Activate tracking

To activate the Google Tag Manager Pixel you have to go to "Your sales channel" > Pixel Your Shop > Google Tag Manager in Admin and activate the Opt-In switch.

Connect accounts

After activation, you simply need to add your Google Tag Manager Container ID. Note that you must can also connect multiple accounts at the same time by simply placing multiple IDs in the same input.

Enable tracking events

By default, all tracking events are disabled. To activate the individual events you simply have to activate the corresponding switch. If you do not know exactly which events you need, we recommend simply activate all tracking events. Collecting more data can never hurt!

Last updated