Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "58.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45133",
"name": "Electra Ponto Go! 20" Tire",
"price": "57.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "12716",
"name": "Pneu Electra Cruiser Fatti-O 24"",
"price": "45.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34514",
"name": "Pneu Electra Balloon Cruiser",
"price": "39.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34706",
"name": "Pneu Electra Strat-O-Balloon Cruiser 24"",
"price": "33.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "12721",
"name": "Pneu Electra Strat-O-Balloon Cruiser 26"",
"price": "32.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 6
}
,
{
"id": "12720",
"name": "Pneu Electra Retrorunner Cruiser",
"price": "27.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 7
}
,
{
"id": "12719",
"name": "Pneus Electra Knobby Cruiser",
"price": "27.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 8
}
,
{
"id": "21678",
"name": "Pneu Electra Lux Fat 26"",
"price": "109.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}