Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41741",
"name": "Surchaussure cycliste Trek Softshell",
"price": "99.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41742",
"name": "Surchaussure étanche Trek pour cyclistes",
"price": "99.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14773",
"name": "Couvre-chaussures de cyclisme Bontrager S2 Softshell",
"price": "139.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25046",
"name": "Couvre-chaussures étanches Bontrager pour cyclistes",
"price": "74.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14775",
"name": "Couvre-chaussures de cyclisme Bontrager S1 Softshell",
"price": "54.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "25045",
"name": "Couvre-pied windshell Bontrager pour cycliste",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}