if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "26600",
"name": "Bontrager Switch Lever Front Thru-Axle",
"price": "1599.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26601",
"name": "Bontrager Switch Lever Rear Thru-Axle",
"price": "1699.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26602",
"name": "Bontrager Switch Lever Tool",
"price": "1199.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27046",
"name": "Trek Rigid Fork Front Thru Axle",
"price": "2299.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27044",
"name": "Trek ABP Hard Tail Convert Rear Thru Axle",
"price": "1699.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "10868",
"name": "Formula QR-22 External Cam Skewer",
"price": "299.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}