if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37056",
"name": "Session 8 29 GX",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29757",
"name": "Cuadro Ticket DJ",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37959",
"name": "Cuadro Session AL",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30495",
"name": "Cuadro Ticket S",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34625",
"name": "Session 9 X01",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37057",
"name": "Session 9",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22049",
"name": "Cuadro Session C 27.5",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30283",
"name": "Cuadro Session C 29",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}