if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36743",
"name": "Domane+ SLR 9 AXS",
"price": "8350.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "11400.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "10275.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "9825.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "9100.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "8900.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35333",
"name": "Domane SL 7 Gen 3",
"price": "5220.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35179",
"name": "Madone SL 7 Gen 6",
"price": "4585.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32562",
"name": "Émonda SL 6 Disc Pro",
"price": "3510.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "3060.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35298",
"name": "Domane SL 5 Gen 3",
"price": "2592.5",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_grey",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}