if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "13521",
"name": "Bontrager Rectangular Base TLR Valve Stem",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}