Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37954",
"name": "Gates Belt Drive Cogs Enviolo / Nuvinci",
"price": "2000.0",
"brand": "Gates",
"category": "Bike cassettes & freewheels",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "45323",
"name": "microSHIFT ADVENT H-Series CS-H093 9-Speed Cassette",
"price": "700.0",
"brand": "microSHIFT",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45324",
"name": "microSHIFT Acolyte H-Series CS-H083 8-Speed Cassette",
"price": "700.0",
"brand": "microSHIFT",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37871",
"name": "SunRun FW-7I 7-Speed Freewheel",
"price": "300.0",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "More Options",
"position": 4
}
,
{
"id": "37872",
"name": "SunRun FW-6I 6-Speed Freewheel",
"price": "300.0",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}