Shopware Extensions
English
English
  • Shop Studio Docs
  • Extensions
    • Pixel Your Shop
      • Installation
      • Tracking
        • Google Analytics Tracking
        • Google Ads Tracking
        • Google Tag Manager
        • Facebook Tracking
        • Microsoft Advertising
        • Instagram Tracking
        • Pinterest Tracking
        • Hotjar Tracking
      • Cookie Consent
        • Shopware
        • Cookie Bot
      • Development
        • Debug
        • Change default events
      • Need help?
    • Resend order confirmation mail
      • Installation
      • Resend email
      • Need help?
    • Recipes
      • Installation
      • Setup
      • Create & publish recipes
      • Set up PDFs
      • Need help?
    • Blog/Magazine
      • Installation
      • Setup
      • Create & publish posts
      • Need help?
    • Advanced Search (Blog + Recipes)
      • Installation
      • Need help?
    • Hotjar
      • Installation
      • Setup
      • Need help?
    • Google Tag Manager
      • Installation
      • Setup
      • Events
      • Need help?
    • Personalized customer greeting
      • Installation
      • Setup
      • Change Snippets
      • Need help?
    • Google Ads
      • Installation
      • Setup
      • How to get Conversion ID and label
      • Dynamic remarketing setup
      • Conversions und events
      • Need help?
    • Back in stock notification
      • Installation
      • Setup
      • Common sources of errors
      • Need help?
    • Microsoft Advertising
      • Installation
      • Need Help?
    • Tree per order
      • Installation
      • Setup
        • TreeMates as provider
        • Custom provider
      • How it works
        • TreeMates as provider
        • Custom provider
      • Export
      • Common sources of error
      • Need help?
    • Health Check
      • Installation
      • Setup
      • Program additional checks
      • Need help?
    • Nutrition Labeling
      • Installation
      • Setup
      • Need help?
    • Product Mix Configurator
      • Installation
  • tracking
Powered by GitBook
On this page
  • Add to cart
  • Begin checkout
  • Checkout progress
  • Login
  • Purchase
  • Remove from cart
  • Search
  • Sign up
  • View product
  • View product list
  • View product search results

Was this helpful?

  1. Extensions
  2. Google Tag Manager

Events

Here you can find a detailed overview with example data, which events with which data are which data is transferred to the data layer of the Google Tag Manager.

Add to cart

{
    'event': 'shop_studio_google_tag_manager_cloud_add_to_cart',
    'google_analytics': {
        'event': 'add_to_cart',
        'value': 9.99,
        'currency': 'EUR',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 9.99,
        'currency': 'EUR'
    },
    'facebook': {
        'event': 'AddToCart',
        'value': 9.99,
        'currency': 'EUR',
        'content_type': 'product',
        'content_ids': ['SW-123456'],
        'contents': [
            {
                'id': 'SW-123456',
                'quantity': 1
            }
        ]
    },
    'pinterest': {
        'event': 'AddToCart',
        'line_items': [
            {
                'product_id': 'SW-123456',
                'product_name': 'Jeans',
                'product_price': 9.99,
                'product_currency': 'EUR',
                'product_quantity': 1,
                'product_variant': 'Blue'
            }
        ]
    },
    'data': {
        'total_price': 9.99,
        'currency': 'EUR',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

Begin checkout

{
    'event': 'shop_studio_google_tag_manager_cloud_checkout_progress',
    'google_analytics': {
        'event': 'begin_checkout',
        'value': 10,
        'currency': 'EUR',
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 10,
        'currency': 'EUR'
    },
    'facebook': {
        'event': 'InitiateCheckout',
        'value': 10,
        'currency': 'EUR',
        'content_type': 'product',
        'content_ids': ['SW-123456'],
        'contents': [
            {
                'id': 'SW-123456',
                'quantity': 1
            }
        ]
    },
    'data': {
        'total_price': 10,
        'net_price': netPrice,
        'tax': 1.9,
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

Checkout progress

{
    'event': 'shop_studio_google_tag_manager_cloud_checkout_progress',
    'google_analytics': {
        'event': 'checkout_progress',
        'value': 10,
        'currency': 'EUR',
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 10,
        'currency': 'EUR'
    },
    'data': {
        'total_price': 10,
        'net_price': netPrice,
        'tax': 1.9,
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

Login

{
    'event': 'shop_studio_google_tag_manager_cloud_login',
    'google_analytics': {
        'event': 'login',
        'method': 'mail'
    },
    'data': {
        'method': 'mail'
    }
}

Purchase

{
    'event': 'shop_studio_google_tag_manager_cloud_purchase',
    'google_analytics': {
        'event': 'purchase',
        'transaction_id': 'SW-123456',
        'value': 10,
        'currency': 'EUR',
        'tax': 1.9,
        'shipping': 0,
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'transaction_id': 'SW-123456',
        'value': 10,
        'currency': 'EUR'
    },
    'facebook': {
        'event': 'Purchase',
        'value': 10,
        'currency': 'EUR',
        'content_type': 'product',
        'content_ids': ['SW-123456'],
        'contents': [
            {
                'id': 'SW-123456',
                'quantity': 1
            }
        ]
    },
    'pinterest': {
        'event': 'Checkout',
        'value': 10,
        'currency': 'EUR',
        'order_id': 'SW-123456',
        'order_quantity': 1,
        'product_ids': ['SW-123456'],
        'line_items': [
            {
                'product_id': 'SW-123456',
                'product_name': 'Jeans',
                'product_price': 9.99,
                'product_currency': 'EUR',
                'product_quantity': 1,
                'product_variant': 'Blue'
            }
        ]
    },
    'data': {
        'order_number': 'SW-123456',
        'total_price': 10,
        'net_price': 8.1,
        'currency': 'EUR',
        'tax': 1.9,
        'shipping': 0,
        'affiliation': 'facebook/post',
        'coupon': 'DISCOUNT-20',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456'
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

Remove from cart

{
    'event': 'shop_studio_google_tag_manager_cloud_remove_from_cart',
    'google_analytics': {
        'event': 'remove_from_cart',
        'value': 9.99,
        'currency': 'EUR',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 9.99,
        'currency': 'EUR'
    },
    'data': {
        'total_price': 9.99,
        'currency': 'EUR',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

Search

{
    'event': 'shop_studio_google_tag_manager_cloud_search',
    'google_analytics': {
        'event': 'search',
        'search_term': 'jeans'
    },
    'facebook': {
        'event': 'Search',
        'search_string': 'jeans'
    },
    'pinterest': {
        'event': 'Search',
        'search_query': 'jeans'
    },
    'data': {
        'search_term': 'jeans'
    }
}

Sign up

{
    'event': 'shop_studio_google_tag_manager_cloud_sign_up',
    'google_analytics': {
        'event': 'sign_up',
        'method': 'mail'
    },
    'facebook': {
        'event': 'CompleteRegistration',
        'content_name': 'mail',
        'status': true
    },
    'pinterest': {
        'event': 'Signup',
        'lead_type': 'mail'
    },
    'data': {
        'method': 'mail'
    }
}

View product

{
    'event': 'shop_studio_google_tag_manager_cloud_view_product',
    'google_analytics': {
        'event': 'view_item',
        'value': 9.99,
        'currency': 'EUR',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 9.99,
        'currency': 'EUR'
    },
    'facebook': {
        'event': 'ViewContent',
        'value': 9.99,
        'currency': 'EUR',
        'content_type': 'product',
        'content_name': 'Jeans',
        'content_ids': ['SW-123456'],
        'contents': [
            {
                'id': 'SW-123456',
                'quantity': 1
            }
        ]
    },
    'data': {
        'total_price': 9.99,
        'currency': 'EUR',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456'
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

View product list

{
    'event': 'shopstudio_google_tag_manager_cloud_view_product_list',
    'google_analytics': {
        'event': 'view_item_list',
        'value': 10,
        'currency': 'EUR',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 10,
        'currency': 'EUR'
    },
    'data': {
        'total_price': 10,
        'currency': 'EUR',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': '3d9664a2-5f36-44ec-ba70-baae0c3222bb',
                'number': 'SW-123456'
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}

View product search results

{
    'event': 'shopstudio_google_tag_manager_cloud_view_product_search_results',
    'google_analytics': {
        'event': 'view_search_results',
        'search_term': 'jeans',
        'items': [
            {
                'google_business_vertical': 'retail',
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    },
    'google_ads': {
        'event': 'conversion',
        'value': 10,
        'currency': 'EUR'
    },
    'data': {
        'search_term': 'jeans',
        'total_price': 10,
        'currency': 'EUR',
        'product_ids': ['SW-123456'],
        'products': [
            {
                'id': 'SW-123456',
                'name': 'Jeans',
                'price': 9.99,
                'currency': 'EUR',
                'quantity': 1,
                'variant': 'Blue'
            }
        ]
    }
}
PreviousSetupNextNeed help?

Last updated 3 years ago

Was this helpful?