Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "38204",
"name": "Pirelli Cinturato Gravel H Tyre",
"price": "8099.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_brown",
"list": "More Options",
"position": 1
}
,
{
"id": "27290",
"name": "Bontrager TLR Tyre Sealant",
"price": "3199.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "More Options",
"position": 2
}
,
{
"id": "11461",
"name": "Bontrager Dialed Kids' Road Tyre",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14957",
"name": "Bontrager Gnarwhal Stud Tool",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "13521",
"name": "Bontrager Rectangular Base TLR Valve Stem",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "199.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}