if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "33921",
"name": "Trek-Diamant 2019-2020 UM2+ / District+ 2 700c Rigid Forks",
"price": "2300.0",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37696",
"name": "Trek-Diamant Villiger Rigid Fork",
"price": "1900.0",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33600",
"name": "Trek Allant+ & Diamant Zouma+ 2020 Rigid Fork Crown Washer",
"price": "200.0",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}