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