if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34588",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "5500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37123",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "5500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40249",
"name": "Trek Circuit Wavecel Helmet",
"price": "3400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36952",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "2400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25365",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34591",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "2400.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25362",
"name": "Bontrager Specter WaveCel Cycling Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34592",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "2000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "14897",
"name": "Bontrager Velocis Mips Road Bike Helmet",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}