Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37985",
"name": "Pneu route Bontrager Aeolus RSL TLR",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "More Options",
"position": 1
}
,
{
"id": "48770",
"name": "Pneu de vélo de route Pirelli P ZERO Race TLR RS",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25926",
"name": "Pneu route Bontrager R3 Hard-Case Lite TLR",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "38203",
"name": "Pneu route Pirelli Cinturato Velo TLR ",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "89.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}