Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "650.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "34509",
"name": "Bontrager Velocis Women’s Dual Foam Cycling Gloves",
"price": "800.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Cycling Gloves",
"price": "800.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34510",
"name": "Bontrager Circuit Women’s Twin Gel Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women’s Gel Cycling Gloves",
"price": "450.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Cycling Gloves",
"price": "450.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "320.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black_grey",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}