Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37082",
"name": "Teeshirt technique VTT Trek Evoke",
"price": "28.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing Manches longues Airmatic",
"price": "69.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45018",
"name": "Teeshirt technique 100% Trek Factory Racing",
"price": "45.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22790",
"name": "Tee-shirt technique VTT et fitness Bontrager Quantum",
"price": "14.0",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}