if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "4799.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "3199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "6599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "5299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "57653",
"name": "Madone SL 5 Gen 8",
"price": "3499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purplelight_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "64879",
"name": "Madone SLR 9 AXS 1x Gen 8",
"price": "12999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "57663",
"name": "Madone SL 6 AXS Gen 8",
"price": "5599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "1999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "48297",
"name": "Émonda ALR Disc Frameset",
"price": "579.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frameset",
"price": "5499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "46766",
"name": "Madone SL Gen 8 Frameset",
"price": "3299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "574.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32772",
"name": "Émonda SLR Disc Frameset",
"price": "2099.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "29864",
"name": "Émonda SLR RSL H1 Frameset",
"price": "1749.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "28103",
"name": "Émonda SLR H2 Frameset",
"price": "1749.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frameset",
"price": "1099.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "579.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "579.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}