if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "30192",
"name": "Domane SLR Gen 2 Rim Frame Set",
"price": "62200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frame Set",
"price": "60000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46766",
"name": "Madone SL Gen 8 Frame Set",
"price": "55000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frame Set",
"price": "50000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30190",
"name": "Domane SL Gen 2 Rim Frame Set",
"price": "32000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48297",
"name": "Émonda ALR Disc Frame Set",
"price": "25000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24015",
"name": "Émonda SL Disc Frameset",
"price": "24000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24014",
"name": "Émonda SL Frameset",
"price": "24000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "20000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frame Set",
"price": "75000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}