Page Intro

This is an example for Ecommerce tracking in Google Analytics. For this to work, you need to include your own ID in the form of UA-XXXXXXX-X in the header

Page view is automatically triggered in header with ga('send', 'pageview');

Shop fee transaction is automatically triggered

ga('ecommerce:addTransaction', {
  'id': 'T-1000',                 // Transaction ID. Required.
  'affiliation': 'Merkur24',      // Affiliation or store name.
  'revenue': '1.5',               // Grand Total.
  'shipping': '0.5',              // Shipping.
  'tax': '0.4'                    // Tax.
});

ga('ecommerce:addItem', {
  'id': 'ITEM-1234',                // Transaction ID. Required.
  'name': 'Shop Fee',               // Product name. Required.
  'sku': 'ENTRY001',                // SKU/code.
  'category': 'Fee',                // Category or variation.
  'price': '1.5',                   // Unit price.
  'quantity': '1'                   // Quantity.
});

ga('ecommerce:send');

Read more on Set up Ecommerce Tracking

Trigger manual transactions

User login

Create transaction

Add Items to cart

EUR
Keep in mind that it can take 24 hours to see the results as they are refreshed once a day.

In my experience, doing it before midnight, makes them available in the morning. Good to know for experimenting...