if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37418",
"name": "Madone SLR 7 AXS Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35333",
"name": "Domane SL 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35716",
"name": "Madone SLR 9 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28715",
"name": "Domane SLR 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28712",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33044",
"name": "Cuadro Madone SLR Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33101",
"name": "Cuadro Domane SLR Disco Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35084",
"name": "Cuadro Madone SL Disc Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29529",
"name": "Cuadro Madone SL",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "29527",
"name": "Cuadro Madone SLR Disc Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35073",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37304",
"name": "Cuadro Domane RSL Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}