Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40496",
"name": "Verve 1 Equipped",
"price": "679.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40497",
"name": "Verve 1 Equipped Lowstep",
"price": "679.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47270",
"name": "Verve 3 Equipped",
"price": "999.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "999.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "40499",
"name": "Verve 2 Equipped Lowstep",
"price": "819.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "36999",
"name": "Verve 1 Equipped",
"price": "499.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "40500",
"name": "Verve 3 Equipped",
"price": "999.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}