Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "220000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41757",
"name": "Émonda SLR 7 AXS",
"price": "180000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "160000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "35487",
"name": "Émonda SLR 7",
"price": "155000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "37314",
"name": "Émonda SLR 6",
"price": "145000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "32772",
"name": "Émonda SLR Disc Frame Set",
"price": "80000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "More Options",
"position": 6
}
,
{
"id": "28103",
"name": "Émonda SLR H2 Frame Set",
"price": "69000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28101",
"name": "Émonda SLR D H2 Frame Set",
"price": "64000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}