if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "33495",
"name": "District 3 Equipped",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33496",
"name": "District 3 Equipped Stagger",
"price": "1100.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36995",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "925.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "920.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "825.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "825.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger Gen 3",
"price": "775.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "775.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33493",
"name": "District 2 Equipped",
"price": "750.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "650.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "650.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35139",
"name": "FX 2 Disc Equipped Stagger",
"price": "625.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "625.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "575.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "550.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "550.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step Gen 3",
"price": "500.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "400.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "400.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "17476",
"name": "Kickster",
"price": "165.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37304",
"name": "Domane RSL Frame Set Gen 4",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 Frame Set",
"price": "4700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37960",
"name": "Slash C Gen 5 Frame Set",
"price": "4525.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}