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