if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44751",
"name": "Multiherramienta Trek Elite BITS",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41411",
"name": "Multiherramienta Trek Pro BITS",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}