if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "35040",
"name": "Trek RSL Road Cycling Shoes",
"price": "8000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45274",
"name": "Trek Circuit Road Cycling Shoes",
"price": "3200.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41740",
"name": "Trek Windshell Cycling Toe Cover",
"price": "600.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoes",
"price": "3500.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_orangevisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "3200.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "2800.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25362",
"name": "Bontrager Specter WaveCel Cycling Helmet",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34129",
"name": "Bontrager Evoke Mountain Bike Shoes",
"price": "2500.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoes",
"price": "2400.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}