if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23276",
"name": "Adaptador Bontrager Insta-Mount",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44796",
"name": "Estação de Carregamento Trek CHRGtime",
"price": "99.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "08298",
"name": "Sensor digital de velocidade/cadência Bontrager DuoTrap",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "11323",
"name": "Sensor Combo Digital Bontrager Interchange",
"price": "37.09",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12319",
"name": "Sensor Digital Bontrager DuoTrap S",
"price": "37.09",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47334",
"name": "Carteira Impermeável Rapha Essentials",
"price": "36.0",
"brand": "Rapha",
"category": "Bike bags & panniers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33768",
"name": "Bolsa de Telefone Electra Reflective Charcoal",
"price": "31.49",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "reflective",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33771",
"name": "Bolsa de Telefone Electra Heather Charcoal",
"price": "27.99",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}