Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "34037",
"name": "Trek Commuter Pro RT Front Bike Light",
"price": "19999.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34035",
"name": "Trek Commuter Comp R Front Bike Light",
"price": "8799.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30762",
"name": "Bontrager Ion Comp R Front Bike Light",
"price": "9299.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "41449",
"name": "Trek Ion 200 RT Front Bike Light",
"price": "5199.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14259",
"name": "Bontrager Ion 100 R/Flare R City Bike Light Set",
"price": "6099.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14243",
"name": "Bontrager Ion 100 R Front Bike Light",
"price": "3699.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "44446",
"name": "Trek Ion 50 R Front Bike Light",
"price": "1799.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "08923",
"name": "Bontrager Glo/Ember Light Set",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22450",
"name": "Bontrager Ion 450 R Front Bike Light",
"price": "5299.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "29076",
"name": "AXA Blueline50 Dynamo Front Bike Light Kit",
"price": "5899.0",
"brand": "AXA",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}