Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47073",
"name": "Checkpoint SL 7 AXS 3e gén.",
"price": "5899.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS 3e gén.",
"price": "4169.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS 3e gén.",
"price": "3629.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "More Options",
"position": 3
}
,
{
"id": "46765",
"name": "Kit cadre Checkpoint SL 3e gén.",
"price": "2449.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS 2e gén.",
"price": "5899.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 2e gén.",
"price": "3359.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
,
{
"id": "35076",
"name": "Kit cadre Checkpoint SL",
"price": "2429.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}