if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "30187",
"name": "Stache C Frame Set",
"price": "1675.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_greenvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35870",
"name": "Roscoe Frame Set",
"price": "775.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "10650.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37065",
"name": "Slash 9.9 XTR Gen 5",
"price": "9725.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36956",
"name": "Fuel EX 9.9 XX1 AXS Gen 6",
"price": "7075.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36732",
"name": "Slash 9.8 XT Gen 5",
"price": "6400.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33575",
"name": "Slash 9.8 GX Gen 5",
"price": "5800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "4525.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35388",
"name": "Slash 9.8 XT Gen 5",
"price": "4500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33074",
"name": "Fuel EX 9.8 GX Gen 5",
"price": "4387.5",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "4270.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "4225.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36355",
"name": "Fuel EX 9.7 Gen 6",
"price": "4175.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "3875.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36358",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "3875.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35068",
"name": "Slash 9.7 Gen 5",
"price": "3700.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35063",
"name": "Remedy 8",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33000",
"name": "Fuel EX 8 Gen 5",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36731",
"name": "Slash 8 Gen 5",
"price": "3250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35072",
"name": "Top Fuel 8 Gen 3",
"price": "3250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36348",
"name": "Fuel EX 8 Gen 6",
"price": "2600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36730",
"name": "Slash 7 Gen 5",
"price": "2225.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}