# Google Analytics Tracking

The setup of the tracking works the same way as Google Ads via the Google gtag, which makes it particularly easy to set up.

Tip

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

# Activate tracking

To activate the Google gtag you have to go to Marketing > Pixel Your Shop > Google gtag in the admin and activate the Opt-In switch.

# Connect accounts

After activation you simply need to add your Google Analytics Tracking ID. Note that you can can also connect multiple accounts at the same time by simply placing multiple IDs in the same input.

By default, the IP addresses of your visitors are already anonymized. You can change the default behavior by disabling the Make IP anonymous check box.

# 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!

# Enable Enhanced ECommerce

To do this, go to ECommerce Settings in your Google Analytics account to activate the advanced e-commerce tracking.

Enhanced ECommerce Tracking - Schritt 1

Now activate the two buttons Enable ECommerce & Enable Enhanced ECommerce Reporting. At Checkout-Labeling you can now add the two funnel steps Checkout & Purchase. How you name the two steps exactly is up to you. But there must always be exactly two steps so that the tracking is working perfectly.

Enhanced ECommerce Tracking - Schritt 2

Tipp

Note that you can use the two tracking events Begin checkout & Purchase in the Shopware Admin under Marketing > Pixel Your Shop > Google gtag must be activated for the advanced e-commerce tracking to work.