Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "12722",
"name": "Pneu Electra Cruiser Vintage Diamond 26"",
"price": "29.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "34514",
"name": "Pneu Electra Balloon Cruiser",
"price": "23.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34706",
"name": "Pneu Electra Strat-O-Balloon Cruiser 24"",
"price": "22.49",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 3
}
,
{
"id": "12719",
"name": "Pneus Electra Knobby Cruiser",
"price": "22.49",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "12720",
"name": "Pneu Electra Retrorunner Cruiser",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "12716",
"name": "Pneu Electra Cruiser Fatti-O 24"",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "21678",
"name": "Pneu Electra Lux Fat 26"",
"price": "59.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}