if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "27590",
"name": "Bontrager R3 Hard-Case Lite Road Tyre",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27392",
"name": "Bontrager R2 Hard-Case Lite Road Tyre",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11024",
"name": "Bontrager AW1 Hard-Case Road Tyre",
"price": "26.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10959",
"name": "Bontrager AW1 Hard-Case Lite Road Tyre",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "08646",
"name": "Bontrager R1 Road Tyre",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}