if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "30190",
"name": "Domane SL Gen 2 Rim Frame Set",
"price": "2400.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21995",
"name": "920 Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "920",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35664",
"name": "Crockett Disc Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32996",
"name": "Domane SL 7 AXS Gen 3",
"price": "6600.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36739",
"name": "Domane+ SLR 7 AXS",
"price": "6495.22",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36155",
"name": "Domane SL 7 AXS Gen 4",
"price": "6475.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35333",
"name": "Domane SL 7 Gen 3",
"price": "5220.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "2775.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35298",
"name": "Domane SL 5 Gen 3",
"price": "2592.5",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37304",
"name": "Domane RSL Frame Set Gen 4",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33101",
"name": "Domane SLR Disc Frameset Gen 3",
"price": "3500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35073",
"name": "Domane SL Disc Frame Set Gen 3",
"price": "2450.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "28712",
"name": "Domane SL Disc Frameset Gen 3",
"price": "2200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}