if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "47997",
"name": "Cuadro Boone Disc",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41655",
"name": "Boone 5",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35664",
"name": "Cuadro Crockett Disco",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35696",
"name": "Cuadro Boone Disc",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33321",
"name": "Crockett 5 Disc",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35337",
"name": "Boone 6",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}