if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34855",
"name": "Jersey da Equipa Infantil Santini Trek Factory Racing XC Réplica",
"price": "18.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35980",
"name": "Lee Chi 25.4 Kids' Handlebar",
"price": "14.99",
"brand": "Lee Chi",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14518",
"name": "Electra Emoji Domed Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29306",
"name": "Electra Skull Domed Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "29234",
"name": "Electra Betta Domed Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23650",
"name": "Electra Wakey Wakey Domed Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greenlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12653",
"name": "Electra Bugle Horn",
"price": "3.83",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}