Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "64.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25852",
"name": "Trek Speed Concept Aerobar Pad Holder Wing",
"price": "47.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44556",
"name": "Trek Speed Concept Gen 3 Aerobar Replacement Pads",
"price": "31.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25847",
"name": "Coussinets pour bras pour cintre aérodynamique Trek Speed Concept",
"price": "25.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14673",
"name": "Jeu de coussinets aérodynamiques pour bras Bontrager",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14672",
"name": "Coussinets aérodynamiques pour bras Bontrager",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}