if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41360",
"name": "Trek 2023 Madone SL6 Forks",
"price": "35299.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30369",
"name": "Trek 2020 Madone SL 700c Rigid Forks",
"price": "33799.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34055",
"name": "Trek 2021 Checkpoint SL 700c Rigid Forks",
"price": "32999.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark_gold",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35915",
"name": "Trek 2022 Domane SL 6 700c Rigid Fork",
"price": "28799.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33266",
"name": "Trek 2021 Emonda SL 700c Rigid Forks",
"price": "22699.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34524",
"name": "Trek 2021 Domane AL 2 700c Disc Rigid Forks",
"price": "21099.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33576",
"name": "Trek FX 1 Cantilever Forks",
"price": "7999.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "09806",
"name": "Bontrager Forklight 700c Fork",
"price": "10699.0",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36817",
"name": "Bontrager Digital Shock Pump",
"price": "7699.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}