Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47317",
"name": "Gilet de cycliste Rapha Core pour femmes",
"price": "135.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "94.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "47318",
"name": "Gilet de cycliste Rapha Brevet",
"price": "210.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "47315",
"name": "Gilet pour cycliste Rapha Pro Team Lightweight",
"price": "185.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "24973",
"name": "Gilet coupe-vent pour cyclistes Bontrager Circuit pour femmes",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "pinkvisibility",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}