Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "45036",
"name": "Trek Voda 769 ml/26 oz Water Bottle",
"price": "190.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_redlight",
"list": "More Options",
"position": 1
}
,
{
"id": "45034",
"name": "Trek Voda Ice 28oz Water Bottle",
"price": "350.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 2
}
,
{
"id": "37366",
"name": "Trek Voda Ice 20oz Water Bottle",
"price": "350.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 3
}
,
{
"id": "37370",
"name": "Trek Voda Flow 621 ml/21 oz Water Bottle",
"price": "300.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 4
}
,
{
"id": "37375",
"name": "Trek Voda 621 ml/21 oz Water Bottle",
"price": "175.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37608",
"name": "Trek EU 20oz Water Bottle",
"price": "125.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 6
}
,
{
"id": "45039",
"name": "Trek EU 24oz Water Bottle",
"price": "125.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 7
}
,
{
"id": "41559",
"name": "Trek Speed Concept SLR BTA 26oz Water Bottle Kit",
"price": "2300.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "47106",
"name": "Trek Speed Concept SLR BTA 26oz. Water Bottle",
"price": "500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}