if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "7899.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "19999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "18279.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "16599.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "13399.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "12599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "12499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "4949.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "4699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "46775",
"name": "Cuadro Madone SLR Gen 8",
"price": "8399.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "11999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37025",
"name": "Madone SLR 7 Gen 7",
"price": "12199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41354",
"name": "Émonda SL 7",
"price": "7739.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greenlight_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41352",
"name": "Émonda SL 6",
"price": "6239.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "30915",
"name": "Domane+ LT Gen 1",
"price": "7899.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "4359.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}