if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "40488",
"name": "Dual Sport+ 2 Mid-step LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40487",
"name": "Dual Sport+ 2 LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "975.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40511",
"name": "Dual Sport 2 Mid-step Gen 5",
"price": "875.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "875.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "750.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40823",
"name": "Dual Sport 1 Gen 5",
"price": "660.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "4400.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "3300.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2150.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40502",
"name": "Dual Sport 3 Equipped Gen 5",
"price": "1100.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40503",
"name": "Dual Sport 3 Equipped Mid-step Gen 5",
"price": "1100.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35853",
"name": "Dual Sport+ 2 Stagger",
"price": "1400.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "4800.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "3825.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "2775.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2125.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "5550.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "4625.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37007",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "4625.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "3425.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "35852",
"name": "Dual Sport+ 2",
"price": "1650.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}