if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47256",
"name": "FX Sport SL 6",
"price": "3499.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48007",
"name": "FX+ 7S Midstep",
"price": "3499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47897",
"name": "FX+ 7S",
"price": "3499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47263",
"name": "FX Sport SL 5",
"price": "2299.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47243",
"name": "FX Sport SL 4",
"price": "1999.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "56161",
"name": "FX+ 1",
"price": "2099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "56162",
"name": "FX+ 1 Midstep",
"price": "2099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49669",
"name": "FX+ 1S Midstep",
"price": "2099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "49668",
"name": "FX+ 1S",
"price": "2099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "58592",
"name": "FX Sport AL 3",
"price": "1199.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "57142",
"name": "FX 2 Midstep Gen 4",
"price": "899.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "57139",
"name": "FX 2 Stepover Gen 4",
"price": "899.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "57134",
"name": "FX 1 Stepover Gen 4",
"price": "699.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "899.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "799.93",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "749.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "549.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "449.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}