Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47073",
"name": "Checkpoint SL 7 AXS 3e gén.",
"price": "7999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "gold_greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS 3e gén.",
"price": "5199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS 3e gén.",
"price": "4299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "More Options",
"position": 3
}
,
{
"id": "46765",
"name": "Kit cadre Checkpoint SL 3e gén.",
"price": "3299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS 2e gén.",
"price": "6399.97",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS 2e gén.",
"price": "4699.97",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 2e gén.",
"price": "3599.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "More Options",
"position": 7
}
,
{
"id": "35076",
"name": "Kit cadre Checkpoint SL",
"price": "3049.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS",
"price": "6199.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}