if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34591",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "3400.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34592",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "3200.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "3200.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25362",
"name": "Bontrager Specter WaveCel Cycling Helmet",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40249",
"name": "Trek Circuit Wavecel Helmet",
"price": "3400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36952",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "2400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}