if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "14500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37419",
"name": "Madone SLR 9 Gen 7",
"price": "13500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37418",
"name": "Madone SLR 7 AXS Gen 7",
"price": "10650.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41759",
"name": "Madone SLR 7 AXS Gen 7",
"price": "10650.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37025",
"name": "Madone SLR 7 Gen 7",
"price": "10200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35489",
"name": "Madone SLR 7 Gen 6",
"price": "9290.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS Gen 7",
"price": "8250.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37416",
"name": "Madone SLR 6 Gen 7",
"price": "7600.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41467",
"name": "Madone SL 7 Gen 7",
"price": "7500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35023",
"name": "Madone SLR 6 eTap Gen 6",
"price": "7100.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "6750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "6475.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41466",
"name": "Madone SL 6 Gen 7",
"price": "5625.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37307",
"name": "Madone SLR Gen 7 Frame Set",
"price": "5500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frame Set",
"price": "5375.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 Gen 6",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "33044",
"name": "Madone SLR Frame Set Gen 6",
"price": "4700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35179",
"name": "Madone SL 7 Gen 6",
"price": "4585.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frame Set",
"price": "4350.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "29529",
"name": "Madone SL Frame Set",
"price": "4000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "44369",
"name": "Madone SL Gen 7 Frame Set",
"price": "3750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35177",
"name": "Madone SL 6 Gen 6",
"price": "3360.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 22
}
]
}
});
} else {
console.log("dataLayer");
}