if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49059",
"name": "Trek FX+ 7 Handlebar/Stem",
"price": "129.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24154",
"name": "Řídítka pro horská kola Bontrager Line 35",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14700",
"name": "Řídítka Bontrager Kovee Elite 35 MTB",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24528",
"name": "Riadidlá na horský bicykel Bontrager Comp 31.8",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "09191",
"name": "MTB řídítka Bontrager Crivitz",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}