Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "31191",
"name": "Bontrager XR Trail Pro MTB Grip Set",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33120",
"name": "Bontrager XR Trail Elite MTB Grip Set",
"price": "500.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "36985",
"name": "Bontrager SE Elite Recycled Grip Set",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "21901",
"name": "Bontrager Satellite Elite Grip",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35888",
"name": "Bontrager XR Endurance Elite Recycled Grip Set",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "35889",
"name": "Bontrager XR Endurance Comp Recycled Grip Set",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14211",
"name": "Bontrager XR Silicone Grip",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "30975",
"name": "Trek Kids' Single Speed Grips",
"price": "100.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "30976",
"name": "Trek Kids' Twist Shift Grips",
"price": "100.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}