Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "30032",
"name": "Trek TT Mono Ergo Extension",
"price": "11899.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "11556",
"name": "Trek Speed Concept Aerobar Fastener Kit",
"price": "3899.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "25852",
"name": "Trek Speed Concept Aerobar Pad Holder Wing",
"price": "2299.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30492",
"name": "Trek Madone SLR Speed Mono Extension Slider",
"price": "799.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25853",
"name": "Trek Speed Concept Aerobar Mono Spacer",
"price": "499.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "38026",
"name": "Trek 2022 Speed Concept Aero Barstem Cap",
"price": "499.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14672",
"name": "Bontrager Aero Arm Pads",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}