if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36740",
"name": "Domane+ SLR 7 AXS",
"price": "7999.93",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "5999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "5499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "5499.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35029",
"name": "Émonda SL 6 AXS",
"price": "4299.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "3999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35170",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "3799.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35169",
"name": "Checkpoint SL 5 Gen 2",
"price": "2799.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "2499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35814",
"name": "Checkpoint ALR 5 Driftless",
"price": "2299.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "1999.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 14
}
,
{
"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": 15
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33101",
"name": "Domane SLR Gen 3 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35073",
"name": "Domane SL Gen 3 Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}