Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41411",
"name": "Multi-outils Trek Pro BITS",
"price": "94.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44751",
"name": "Multi-outils Trek Elite BITS",
"price": "54.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34582",
"name": "Dynaplug Micro Pro Tubeless Tire Repair Kit",
"price": "84.99",
"brand": "Dynaplug",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41956",
"name": "Park Tool TPT-1 Tubeless Tire Plug Tool",
"price": "53.99",
"brand": "Park Tool",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44681",
"name": "Dynaplug Variety Tubeless Tire Repair Plugs 5 Pack",
"price": "19.99",
"brand": "Dynaplug",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "35531",
"name": "Crankbrothers Tire Plug Refill Kit 10 Pack",
"price": "6.99",
"brand": "Crankbrothers",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41955",
"name": "Park Tool 2370K Tubeless Tire Plug Refill Pack",
"price": "4.99",
"brand": "Park Tool",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}