Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47225",
"name": "Trousse à outils Trek BITS",
"price": "39.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "19.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "31849",
"name": "Bontrager Wheel Bag",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31819",
"name": "Boîtier de poche Bontrager Pro",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14405",
"name": "Bontrager Pro Ride Wallet Plus",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "white_black",
"list": "More Options",
"position": 7
}
,
{
"id": "22453",
"name": "Bontrager 18oz Storage Bottle",
"price": "10.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black_white",
"list": "More Options",
"position": 8
}
,
{
"id": "47334",
"name": "Boîtier imperméable Rapha Essentials",
"price": "56.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "21794",
"name": "Kit anti-crevaison Bontrager Pro",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}