if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46766",
"name": "Madone SL Gen 8 Frameset",
"price": "3299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frameset",
"price": "1249.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30190",
"name": "Domane SL Gen 2 Rim Frameset",
"price": "909.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frameset",
"price": "2599.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37307",
"name": "Madone SLR Gen 7 Disc Frameset",
"price": "2199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frameset",
"price": "1899.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frameset",
"price": "1899.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22055",
"name": "Speed Concept Rim Frameset",
"price": "1814.93",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28103",
"name": "Émonda SLR H2 Frameset",
"price": "1749.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29864",
"name": "Émonda SLR RSL H1 Frameset",
"price": "1749.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35696",
"name": "Boone Disc Frameset",
"price": "1319.93",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35076",
"name": "Checkpoint SL Frameset Gen 2",
"price": "1199.93",
"brand": "Trek",
"category": "Checkpoint",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frameset",
"price": "1099.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "2199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "1899.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "33101",
"name": "Domane SLR Gen 3 Frameset",
"price": "1859.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "1679.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}