Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "31550",
"name": "Pneu vélo électrique Bontrager LT4 Expert Réfléchissant",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "28498",
"name": "Pneu Bontrager E6 Hard-Case Lite Vélo électrique",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "31552",
"name": "Pneu hybride Bontrager H2 Hard-Case Lite Réfléchissant",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 3
}
,
{
"id": "34577",
"name": "Pneu Electra Loft Hybrid",
"price": "23.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "12712",
"name": "Pneu Electra Amsterdam Hybrid 700c",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 5
}
,
{
"id": "13072",
"name": "Pneu Electra Loft 700c",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "More Options",
"position": 6
}
,
{
"id": "12714",
"name": "Pneu Electra Townie Original",
"price": "17.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}