if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "500.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "400.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40804",
"name": "District 4 Mid-step",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40803",
"name": "District 4 Equipped",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40509",
"name": "District 3 Equipped",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40510",
"name": "District 3 Mid-step",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40505",
"name": "FX 3 Equipped Mid-step",
"price": "1100.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40504",
"name": "FX 3 Equipped",
"price": "1100.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "1050.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40494",
"name": "District 2 Equipped",
"price": "900.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "900.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40506",
"name": "FX 2 Equipped",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40492",
"name": "District 1 Equipped",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40507",
"name": "FX 2 Equipped Mid-step",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "660.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "660.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40813",
"name": "FX 1 Gen 4",
"price": "560.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2150.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "2775.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2125.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}