if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "56311",
"name": "Wahoo ELEMNT ACE GPS Cycling Computer",
"price": "599.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44416",
"name": "Wahoo ELEMNT ROAM V2 GPS Cycling Computer",
"price": "399.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44418",
"name": "Wahoo ELEMNT BOLT GPS Cycling Computer",
"price": "299.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}