if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33355",
"name": "Madone SLR 9 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35744",
"name": "Madone SLR 7 eTap Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33103",
"name": "Madone SLR 7 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"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": "33044",
"name": "Madone SLR Frame Set Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frame Set",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35489",
"name": "Madone SLR 7 Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "29527",
"name": "Madone SLR Disc Frameset Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33348",
"name": "Madone SLR 7 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35745",
"name": "Madone SLR 9 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}