Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "10882",
"name": "Bontrager DT Aerolite Bladed Nail-Head Spoke - Box of 10",
"price": "4.49",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45446",
"name": "Bontrager Aeolus Pro Spoke Nipple Washers",
"price": "3.99",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "12932",
"name": "Rondelles pour écrou de rayon Bontrager Aeolus D3",
"price": "1.99",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "45421",
"name": "Electra Ponto Go! 20" Spokes",
"price": "3.99",
"brand": "Electra",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "44340",
"name": "Alpina Spark 13/14 Gauge Round J-Bend Spoke Box of 10",
"price": "2.49",
"brand": "Alpina",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}