if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "4175.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36141",
"name": "Domane+ AL 5",
"price": "3050.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35294",
"name": "Checkpoint SLR 7",
"price": "8625.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37307",
"name": "Madone SLR Gen 7 Frame Set",
"price": "5500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frame Set",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30192",
"name": "Domane SLR Gen 2 Rim Frame Set",
"price": "4450.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32772",
"name": "Émonda SLR Disc Frame Set",
"price": "3900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29864",
"name": "Émonda SLR RSL H1 Frame Set",
"price": "3900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28103",
"name": "Émonda SLR H2 Frame Set",
"price": "3900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frame Set",
"price": "2975.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35696",
"name": "Boone Disc Frame set",
"price": "2775.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35076",
"name": "Checkpoint SL Frame Set",
"price": "2500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "30190",
"name": "Domane SL Gen 2 Rim Frame Set",
"price": "2400.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frame Set",
"price": "1975.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "30189",
"name": "Émonda SL Frameset",
"price": "1700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35664",
"name": "Crockett Disc Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36739",
"name": "Domane+ SLR 7 AXS",
"price": "8900.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "32996",
"name": "Domane SL 7 AXS Gen 3",
"price": "6600.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}