if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "27290",
"name": "Bontrager TLR Tyre Sealant",
"price": "3199.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31426",
"name": "Bontrager TLR Rim Strip",
"price": "1099.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "14221",
"name": "Bontrager TLR Rim Tape",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"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": 5
}
]
}
});
} else {
console.log("dataLayer");
}