if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type Gen 6",
"price": "145000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36954",
"name": "Fuel EX 9.9 XTR Gen 6",
"price": "210000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41327",
"name": "Fuel EX 8 XT Gen 6",
"price": "80000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41645",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "240000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "210000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37141",
"name": "Fuel EX C Gen 6 Frame Set",
"price": "60000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37142",
"name": "Fuel EX AL Gen 6 Frame Set",
"price": "40000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}