Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "39.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12720",
"name": "Pneu Electra Retrorunner Cruiser",
"price": "26.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 2
}
,
{
"id": "12719",
"name": "Pneus Electra Knobby Cruiser",
"price": "25.19",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34514",
"name": "Pneu Electra Balloon Cruiser",
"price": "23.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"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": 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");
}