Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "31487",
"name": "Electra Vale GO! Caches de batterie RIB",
"price": "154.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "tan",
"list": "More Options",
"position": 1
}
,
{
"id": "34395",
"name": "Electra Townie Path Go! Cache de batterie",
"price": "154.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "27171",
"name": "Electra Café Moto Go! Cache de batterie",
"price": "129.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45337",
"name": "Electra Ponto Go! Battery Rail Spacer",
"price": "13.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36011",
"name": "Cache de partie jeu de pédalier de fourche arrière monobloc Electra",
"price": "4.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36010",
"name": "Cache de partie arrière de fourche arrière monobloc Electra",
"price": "4.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}