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": "35664",
"name": "Crockett Disc Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "21995",
"name": "920 Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "920",
"variant": "tan",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36141",
"name": "Domane+ AL 5",
"price": "3050.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36957",
"name": "Émonda ALR 6",
"price": "2325.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "2200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1850.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}