Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37985",
"name": "Pneu route Bontrager Aeolus RSL TLR",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "More Options",
"position": 1
}
,
{
"id": "48770",
"name": "Pneu de vélo de route Pirelli P ZERO Race TLR RS",
"price": "136.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25926",
"name": "Pneu route Bontrager R3 Hard-Case Lite TLR",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44818",
"name": "Pirelli P Zero Race TLR SL Road Tire",
"price": "126.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "38203",
"name": "Pneu route Pirelli Cinturato Velo TLR ",
"price": "119.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36230",
"name": "Pneu de route Strada Pro Tubeless fabriqué main",
"price": "107.99",
"brand": "Challenge",
"category": "Bike tires",
"variant": "black_tan",
"list": "More Options",
"position": 6
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "119.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}