if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35326",
"name": "Top Fuel 9.9 XX1 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35072",
"name": "Top Fuel 8 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35324",
"name": "Top Fuel 9.8 GX Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37070",
"name": "Top Fuel 9.9 XX1 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27919",
"name": "Top Fuel 9.7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32989",
"name": "Top Fuel 9.8 GX Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32987",
"name": "Top Fuel 9.9 X01 Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37064",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "28318",
"name": "Cuadro Top Fuel C Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35648",
"name": "Cuadro Top Fuel C Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}