if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "45108",
"name": "Trek Blaze WaveCel Mountain Bike Helmet",
"price": "4750.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "3200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45079",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "3000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "800.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "750.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25359",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34592",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "25361",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}