Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "33772",
"name": "Sacoche de selle Electra Charcoal réfléchissant",
"price": "31.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "35898",
"name": "Sacoche de selle Electra Ziggy",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 2
}
,
{
"id": "35899",
"name": "Sacoche de selle Electra Miami",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 3
}
,
{
"id": "40316",
"name": "Sacoche de selle Electra Fern",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "33775",
"name": "Sacoche de selle Electra Heather Charcoal",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "33774",
"name": "Sacoche de selle Electra",
"price": "17.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "More Options",
"position": 6
}
,
{
"id": "33773",
"name": "Sacoche de selle Electra Doodle",
"price": "17.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}