if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37307",
"name": "Madone SLR Gen 7 Frameset",
"price": "4599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32772",
"name": "Émonda SLR Disc Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28103",
"name": "Émonda SLR H2 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "29864",
"name": "Émonda SLR RSL H1 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frameset",
"price": "2499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frameset",
"price": "2199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "4419.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33101",
"name": "Domane SLR Gen 3 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35073",
"name": "Domane SL Gen 3 Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "28712",
"name": "Domane SL Gen 3 Frameset",
"price": "2199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "24014",
"name": "Émonda SL Frameset",
"price": "1299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}