Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37084",
"name": "Short VTT Trek Evoke",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37085",
"name": "Shorts VTT Trek Evoke pour femmes",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37090",
"name": "Sous-short Trek Troslo",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37091",
"name": "Sous-short pour femmes Trek Troslo",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31913",
"name": "100% Airmatic Mountain Bike Short",
"price": "74.25",
"brand": "100%",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44139",
"name": "Cuissard Santini Trek Factory Racing Replica pour femme",
"price": "79.99",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}