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": "36949",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "3200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25359",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34592",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "25361",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}