if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "5999.93",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46164",
"name": "Domane+ SLR 6",
"price": "7699.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "15149.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "14849.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "14299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "13999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49165",
"name": "Domane+ SLR 8 AXS",
"price": "10999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "10499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "9899.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "7149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "46221",
"name": "Madone SL 6 AXS Gen 8",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47222",
"name": "Domane+ AL 5",
"price": "3849.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47256",
"name": "FX Sport SL 6",
"price": "3299.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47263",
"name": "FX Sport SL 5",
"price": "2299.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "47243",
"name": "FX Sport SL 4",
"price": "1999.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1399.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frameset",
"price": "5499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "46763",
"name": "Checkmate SLR Frameset",
"price": "4399.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "46766",
"name": "Madone SL Gen 8 Frameset",
"price": "3299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "47997",
"name": "Boone Disc Frameset",
"price": "2999.99",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frameset",
"price": "2599.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}