if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36372",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36360",
"name": "Fuel EXe 9.7",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36373",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36361",
"name": "Fuel EXe 9.5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}