Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41311",
"name": "Trek Fetch+ 2 Chain Guide Assembly",
"price": "12.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45290",
"name": "Trek Wahoo Chainkeeper",
"price": "4.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33933",
"name": "Wolf Tooth Gnarwolf Braze-On Chainguide",
"price": "67.99",
"brand": "Wolf Tooth Components",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33934",
"name": "Wolf Tooth Gnarwolf ISCG Chainguide",
"price": "67.99",
"brand": "Wolf Tooth Components",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41312",
"name": "e*thirteen Vario I05 Trail Chainguide",
"price": "67.99",
"brand": "EThirteen",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}