Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "55.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33746",
"name": "Sacoche de cintre cylindrique Electra réfléchissant Charcoal",
"price": "44.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "35892",
"name": "Sacoche de cintre Electra Ziggy",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "35893",
"name": "Sacoche de cintre Electra Miami",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 4
}
,
{
"id": "33611",
"name": "Sacoche de selle avec rabat Electra Washi",
"price": "17.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 5
}
,
{
"id": "35894",
"name": "Sacoche de cintre Electra Gnome",
"price": "14.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "33613",
"name": "Sacoche de cintre Electra ECB 3000",
"price": "14.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "greylight_white",
"list": "More Options",
"position": 7
}
,
{
"id": "33614",
"name": "Sacoche de cintre Electra Sun Shimmer",
"price": "14.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_yellow",
"list": "More Options",
"position": 8
}
,
{
"id": "33615",
"name": "Sacoche de cintre Electra Graffiti Drip",
"price": "14.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "blue_redlight",
"list": "More Options",
"position": 9
}
,
{
"id": "35895",
"name": "Sacoche de cintre Electra Tutti Frutti",
"price": "14.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}