Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "48010",
"name": "e*thirteen Helix Core e*spec Bosch Gen 4 E-Bike Crank",
"price": "114.99",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "26877",
"name": "Shimano XTR M9100 Crank",
"price": "562.99",
"brand": "Shimano",
"category": "Bike cranks & chainrings",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "44882",
"name": "e*Thirteen e*Spec Race Carbon Crankarm for Trek E-Caliber",
"price": "454.99",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41314",
"name": "e*thirteen Helix 24mm Crank",
"price": "159.99",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44989",
"name": "FSA Bosch Gen 3 Crank Arms",
"price": "79.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44821",
"name": "Prowheel 40T Square Crank with Bashguard",
"price": "48.99",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32172",
"name": "Bosch Gen 3 (Mini ISIS) Crankset",
"price": "35.99",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}