if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "10000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "8500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49364",
"name": "Top Fuel 9.9 XTR Gen 4",
"price": "8000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "gold",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "6500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "6000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46144",
"name": "Top Fuel 9 Gen 4",
"price": "4500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "3500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "2500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46726",
"name": "Top Fuel C Frame Set Gen 4",
"price": "3675.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "46727",
"name": "Top Fuel AL Frame Set Gen 4",
"price": "2300.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "8475.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "6600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "4700.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS T-Type Gen 3",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36789",
"name": "Top Fuel 8 Gen 3",
"price": "2775.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "2000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "42273",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "3099.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35649",
"name": "Top Fuel AL Gen 3 Frame Set",
"price": "2600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "4270.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"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": 20
}
,
{
"id": "35072",
"name": "Top Fuel 8 Gen 3",
"price": "3250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "1950.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}