if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "40249",
"name": "Trek Circuit WaveCel Helmet",
"price": "3400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure Triangle Bag",
"price": "1800.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44426",
"name": "Trek Line Comp Flat Pedal Set",
"price": "700.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Water Bottle Cage",
"price": "350.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "1500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47143",
"name": "Trek Right Side Load Recycled Water Bottle Cage",
"price": "400.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47144",
"name": "Trek Left Side Load Recycled Water Bottle Cage",
"price": "400.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37370",
"name": "Trek Voda Flow 621 ml/21 oz Water Bottle",
"price": "250.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46148",
"name": "Trek Flag Water Bottle",
"price": "190.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41409",
"name": "Trek Line Elite Flat Pedal Set",
"price": "1100.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24839",
"name": "Bontrager Charger Floor Pump",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "44552",
"name": "Trek Domane+ SLR Range Extender Cable Guide",
"price": "580.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47372",
"name": "Trek Range Extender Retention Strap Kit V2",
"price": "360.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37940",
"name": "Hyena Range Extender Step-Thru Battery Cable",
"price": "1300.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37938",
"name": "Hyena Range Extender Downtube Battery Cable",
"price": "1150.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40302",
"name": "TQ Range Extender Cable for Road",
"price": "1000.0",
"brand": "TQ",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}