if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "32565",
"name": "Émonda SLR 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}