Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "31550",
"name": "Pneu vélo électrique Bontrager LT4 Expert Réfléchissant",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "50.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "12720",
"name": "Pneu Electra Retrorunner Cruiser",
"price": "35.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 3
}
,
{
"id": "12722",
"name": "Pneu Electra Cruiser Vintage Diamond 26"",
"price": "35.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "12719",
"name": "Pneus Electra Knobby Cruiser",
"price": "32.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34514",
"name": "Pneu Electra Balloon Cruiser",
"price": "31.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34706",
"name": "Pneu Electra Strat-O-Balloon Cruiser 24"",
"price": "27.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 7
}
,
{
"id": "12716",
"name": "Pneu Electra Cruiser Fatti-O 24"",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}