Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41463",
"name": "C-Star Hydraulic Brake Hose",
"price": "51.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32115",
"name": "Tektro Hydraulic Brake Hose Kit",
"price": "35.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41544",
"name": "Promax Hydraulic Brake Hose",
"price": "34.99",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs",
"price": "25.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 4
}
,
{
"id": "41462",
"name": "C-Star Olive and Barb V2",
"price": "25.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 5
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings 10-Pack",
"price": "20.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 6
}
,
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "19.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "27542",
"name": "Trek Hydraulic Housing Front Frame Grommet",
"price": "12.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}