Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35061",
"name": "Fond de jante TLR Bontrager",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14221",
"name": "Fond de jante TLR Bontrager",
"price": "15.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "31426",
"name": "Fond de jante Bontrager TLR",
"price": "13.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "11669",
"name": "Fonds de jante large haute pression Bontrager",
"price": "4.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "40481",
"name": "Trek-Diamant Presta Rim Strip",
"price": "14.0",
"brand": "Trek-Diamant",
"category": "Bike rims & accessories",
"variant": "red",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}