Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "25000",
"name": "Chaussures vélo route Bontrager XXX",
"price": "279.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "14896",
"name": "Casque route Bontrager Velocis Mips",
"price": "175.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44126",
"name": "Maillot Santini Équipe Trek-Segafredo thermique réplique pour hommes LS",
"price": "74.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "More Options",
"position": 3
}
,
{
"id": "44123",
"name": "Cuissard à bret. Race Santini Trek-Segafredo Équipe Réplique homme",
"price": "71.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "13040",
"name": "Semelles à faible voûte Bontrager inForm BioDynamic",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "22476",
"name": "Semelles à voûte prononcée Bontrager inForm BioDynamic",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}