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": "40735",
"name": "Farley AL Frameset",
"price": "1400.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29757",
"name": "Ticket DJ framset",
"price": "975.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35870",
"name": "Roscoe Frame Set",
"price": "775.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44442",
"name": "Procaliber AL Frame Set",
"price": "750.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37982",
"name": "Marlin Frameset Gen 3",
"price": "600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35867",
"name": "X-Caliber Frame Set",
"price": "550.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "4625.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35403",
"name": "Powerfly 7 Gen 3",
"price": "4230.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35402",
"name": "Powerfly 5 Gen 3",
"price": "3555.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "3425.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35115",
"name": "Procaliber 9.8",
"price": "3250.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32817",
"name": "Powerfly 4 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "2800.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "pinklight_greydark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35114",
"name": "Procaliber 9.7",
"price": "2600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "1880.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "1675.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "825.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "775.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "575.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "550.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "29759",
"name": "Marlin 4 Gen 2",
"price": "375.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "30181",
"name": "Procaliber SL Frame Set Gen 1",
"price": "2400.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}