Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "12338",
"name": "Trek 3S Chainkeeper",
"price": "1699.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}