Hi all,
I am trying to enhance my ecommerce layer with specific information. In the Ecommerce order setup I can chose to add a product dimension.
I setup the dimension and the needed variable. I can see the variable in the debug layer, but the information is not added in the ecommerce report. Also its not listed in the tracker debugger.
From what i have read I just need to add the new info to the product area and use the dimension.
Thats my layer and the added info is : “zeit2”
Am I missing something?
Thanks. Regards Martin
// Send transaction data with a pageview if available
// when the page loads. Otherwise, use an event when the transaction
// data becomes available.
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
'event': 'purchase',
'ecommerce': {
'purchase': {
'actionField': {
'id': {{ ID Time }}, // Transaction ID. Required for purchases and refunds.
'affiliation': {{ MKTO }},
'revenue': 200, // Total transaction value (incl. tax and shipping)
'tax': (( 200/ 1.19 * 0.19) * 100) / 100,
'shipping': '0.00',
'coupon': ''
},
'products': [{ // List of productFieldObjects.
'name': "Name",
'id': "name",
'price': 200,
'brand': 'MYBrand',
'category': "name//name3",
'variant': '',
'quantity': 1,
'zeit2': "test",
'coupon': '' // Optional fields may be omitted or set to empty string.
}]
}
}
});
Edit:
In the ecom tag, you can not select a variable from the dimension value as a dropdown-list.
Also looking at the network console, the object is not filled {} where this should be resolved:
It looks like this in the network:


