Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41293",
"name": "Trek Domane SL 5 Downtube Storage Door",
"price": "3399.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "32236",
"name": "Trek 2020 Domane SLR Downtube Storage Cover",
"price": "3199.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "46105",
"name": "Trek 2024 Checkpoint SL IsoSpeed Cover",
"price": "2199.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "35918",
"name": "Trek 2022 Domane SL Brow Cover",
"price": "1299.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "reddark",
"list": "More Options",
"position": 4
}
,
{
"id": "32199",
"name": "Trek 2020 Domane SL Brow Cover",
"price": "1199.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31335",
"name": "Trek 2020 Domane Downtube Storage Frame",
"price": "399.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41609",
"name": "Trek Domane Storage Door Replacement Latch Wing",
"price": "299.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}