if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40149",
"name": "T-shirt Santini Trek-Segafredo pour femmes",
"price": "20.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41980",
"name": "Trek Oh Deer Beanie",
"price": "17.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45019",
"name": "Sweat capuche Trek Factory Racing 100%",
"price": "74.99",
"brand": "100%",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45021",
"name": "Casquette à 5 pans Trek Factory Racing 100%",
"price": "34.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45022",
"name": "Bonnet à pompon Trek Factory Racing 100%",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45020",
"name": "Casquette de camionneur Trek Factory Racing 100%",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}