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": "33266",
"name": "Trek 2021 Emonda SL 700c Rigid Forks",
"price": "22699.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"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": 5
}
,
{
"id": "33576",
"name": "Trek FX 1 Cantilever Forks",
"price": "7999.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}