if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44588",
"name": "Bontrager Brevard RSL SE TLR MTB Tyre",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44791",
"name": "Bontrager Galbraith RSL SE TLR MTB Tyre",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34494",
"name": "Bontrager SE6 Team Issue TLR MTB Tyre",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tyre",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tyre",
"price": "63.74",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38374",
"name": "Pirelli Scorpion Enduro M MTB Tyre",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38364",
"name": "Pirelli Scorpion Enduro R MTB Tyre",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}