if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "14699.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25475",
"name": "BOA Shoe Replacement IP1 Right Dial Kit",
"price": "999.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25476",
"name": "BOA Shoe Replacement IP1 Left Dial Kit",
"price": "999.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}