if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35855",
"name": "Dual Sport+ 2 Stagger",
"price": "1749.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "2399.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "849.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2099.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "2799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "1199.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "5499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35854",
"name": "Dual Sport+ 2",
"price": "1749.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "649.93",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}