if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47218",
"name": "Domane+ AL 5",
"price": "3100.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1190.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48297",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2350.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2100.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "2000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "1700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1450.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1050.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36141",
"name": "Domane+ AL 5",
"price": "3050.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36957",
"name": "Émonda ALR 6",
"price": "2325.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1850.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}