if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47132",
"name": "Domane SL 7 Gen 4",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "4699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "3499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS Gen 7",
"price": "8399.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "5499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36152",
"name": "Domane SL 6 AXS Gen 4",
"price": "3999.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"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
}
]
}
});
} else {
console.log("dataLayer");
}