if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37064",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28318",
"name": "Cuadro Top Fuel C Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35326",
"name": "Top Fuel 9.9 XX1 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35648",
"name": "Cuadro Top Fuel C Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36789",
"name": "Top Fuel 8 XT Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS tipo T Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}