Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "26244",
"name": "Pédalier avec guide-chaîne Electra Townie 24"",
"price": "79.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35944",
"name": "Electra Townie Go! Pédalier 7d Gen 2",
"price": "79.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "44996",
"name": "Electra Ponto Go! Crankset",
"price": "79.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "26237",
"name": "Pédalier avec guide-chaîne Electra Townie",
"price": "79.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Pédalier",
"price": "74.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "26243",
"name": "Pédalier Electra Townie",
"price": "64.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "26234",
"name": "Pédalier Electra Amsterdam Original 3",
"price": "55.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "26232",
"name": "Pédalier Electra Straight 8 3i",
"price": "51.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41619",
"name": "Electra Cruiser 170mm Chainguide Crankset",
"price": "47.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "41620",
"name": "Electra Cruiser 152mm Chainguide Crankset",
"price": "47.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "31918",
"name": "Electra Hydrive E-bike Crank Arms",
"price": "39.99",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "26239",
"name": "Bras de manivelle à une pièce Electra Cruiser",
"price": "36.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}