Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34037",
"name": "Trek Commuter Pro RT Front Bike Light",
"price": "2500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34035",
"name": "Trek Commuter Comp R Front Bike Light",
"price": "1500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41444",
"name": "Trek Ion Pro RT Front Bike Light",
"price": "2100.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27821",
"name": "Bontrager Ion Elite R Front Bike Light",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "30762",
"name": "Bontrager Ion Comp R Front Bike Light",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41449",
"name": "Trek Ion 200 RT Front Bike Light",
"price": "1100.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "27422",
"name": "Trek Domane+ Front Bike Light",
"price": "3700.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31074",
"name": "Bontrager Lync Ion Stem Mount Flash-beam Front Light",
"price": "3000.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27118",
"name": "Bontrager Lync Ion Stem Mount Steady-beam Front Light",
"price": "3000.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_white",
"list": "More Options",
"position": 9
}
,
{
"id": "41377",
"name": "Bontrager Lync Ion BES3 Front Light",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "22466",
"name": "Bontrager Ion Pro RT Front Bike Light",
"price": "2100.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "45270",
"name": "Herrmans MR8 E-bike Front Light Top Mount For PCB Connector",
"price": "800.0",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}