Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44960",
"name": "Sacoche arrière Trek",
"price": "114.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33172",
"name": "sacoche arrière MIK Commuter",
"price": "154.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24465",
"name": "Sacoche arrière Bontrager City",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35890",
"name": "Bontrager Commuter Trunk Bag",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "33777",
"name": "Sacoche arrière Electra, charbon",
"price": "109.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "40322",
"name": "Sacoche arrière Electra Fern",
"price": "109.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 6
}
,
{
"id": "47640",
"name": "Plateau avant / sacoche pour porte-bagages arrière Electra",
"price": "94.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "42179",
"name": "BiKASE Big Daddy 2 Trunk Bag",
"price": "159.99",
"brand": "BiKASE",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42180",
"name": "BiKASE Big Momma Trunk Bag",
"price": "104.99",
"brand": "BiKASE",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "10.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}