Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "4249.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "More Options",
"position": 1
}
,
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "3729.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "33003",
"name": "Townie Go! 5i EQ Step-Over",
"price": "3729.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "47937",
"name": "Townie Go! 7D EQ cadre diamant",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "47938",
"name": "Townie Go! 7D EQ cadre ouvert",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "35272",
"name": "Townie Go! 7D cadre diamant",
"price": "1899.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}