Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41448",
"name": "Trek Flare RT Rear Bike Light",
"price": "1100.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14241",
"name": "Bontrager Flare R City Rear Bike Light",
"price": "750.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41441",
"name": "Trek Flare R City Rear Bike Light",
"price": "800.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32184",
"name": "Bontrager Lync Flare Wide Beam Mudguard Mount Rear Bike Light",
"price": "1300.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 4
}
,
{
"id": "27463",
"name": "Trek Domane+ Rear Bike Light",
"price": "900.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44825",
"name": "Spanninga Pimento XDvS Dynamo Rear Bike Light",
"price": "700.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black_reddark",
"list": "More Options",
"position": 6
}
,
{
"id": "44824",
"name": "Spanninga Pimento XE 50 Rear E-bike Light",
"price": "700.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black_reddark",
"list": "More Options",
"position": 7
}
,
{
"id": "41825",
"name": "Spanninga Nr.9 XD Dynamo Rear Light",
"price": "500.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 8
}
,
{
"id": "41824",
"name": "Spanninga Nr.9 E-bike Rear Light",
"price": "500.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 9
}
,
{
"id": "40460",
"name": "TRELOCK Duo Flat E-bike Rear Light",
"price": "400.0",
"brand": "Trelock",
"category": "Bike lights",
"variant": "reddark_white",
"list": "More Options",
"position": 10
}
,
{
"id": "44822",
"name": "Spanninga Pimento RR 02 Rear Light Reflector",
"price": "100.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}