if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36959",
"name": "Madone SL 6 Di2 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41759",
"name": "Madone SLR 7 AXS Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41467",
"name": "Madone SL 7 Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28714",
"name": "Madone SL 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33349",
"name": "Madone SLR 9 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35180",
"name": "Madone SL 7 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35745",
"name": "Madone SLR 9 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}