Google tag manager. Fire e-commerce transaction fails

98 views Asked by At

Why does the below transaction doesn't appear in Google Analytics?

dataLayer = [{
    'transactionId': '1234',
    'transactionAffiliation': 'TEST AFFILATION',
    'transactionTotal': 38.26,
    'transactionTax': 1.29,
    'transactionShipping': 5,
    'transactionProducts': [{
        'sku': 'DD44',
        'name': 'TEST',
        'category': 'TESTCATEGORY',
        'price': 0.00,
        'quantity': 1
    },{
        'sku': 'AA1243544',
        'name': 'Test1',
        'category': 'TESTCAT',
        'price': 0.00,
        'quantity': 2
    }]
}];</script>

    <!-- Google Tag Manager -->
 google tagmanager script here 
0

There are 0 answers