Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 1
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "More Options",
"position": 2
}
,
{
"id": "41973",
"name": "Sweat à capuche ras du cou Trek Quilted unisexe",
"price": "59.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "37316",
"name": "Sweat à capuche Trek Dégradé 80",
"price": "52.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}