Overview
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": "More Options",
"position": 1
}
,
{
"id": "26602",
"name": "Bontrager Switch Lever Tool",
"price": "1199.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27046",
"name": "Trek Rigid Fork Front Thru Axle",
"price": "2299.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27044",
"name": "Trek ABP Hard Tail Convert Rear Thru Axle",
"price": "1699.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "10868",
"name": "Formula QR-22 External Cam Skewer",
"price": "299.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}