Panoramica
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37327",
"name": "T-shirt Trek Bike People",
"price": "26.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "36291",
"name": "T-shirt Trek Original da donna",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "33802",
"name": "T-shirt Trek Bicycle Co",
"price": "20.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "40638",
"name": "Trek Fade Women's T-Shirt",
"price": "17.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 4
}
,
{
"id": "40637",
"name": "Trek Fade Unisex T-Shirt",
"price": "17.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 5
}
,
{
"id": "40639",
"name": "Trek Check Script Unisex T-Shirt",
"price": "17.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "37329",
"name": "T-shirt da donna Trek Bike People",
"price": "15.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "26593",
"name": "T-shirt Trek da donna",
"price": "12.5",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greydark",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}