if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41550",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41476",
"name": "Fuel EXe 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41554",
"name": "Fuel EXe 8 XT",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41371",
"name": "Fuel EXe 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41503",
"name": "Fuel EXe 8 XT",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41478",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}