Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40822",
"name": "FX Sport 4",
"price": "2049.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "32770",
"name": "FX 1 Cadre trapèze",
"price": "639.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "32769",
"name": "FX 1",
"price": "639.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "3199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2549.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "More Options",
"position": 5
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "2049.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "32262",
"name": "FX Sport 4",
"price": "2199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "1299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 8
}
,
{
"id": "35108",
"name": "FX 3 Disque Equipped Stagger",
"price": "1299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger",
"price": "1259.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35021",
"name": "FX 3 Disque",
"price": "1259.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "28898",
"name": "FX 3 Equipped",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "28475",
"name": "FX 3 Disque pour Femmes",
"price": "1019.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "pinkdark",
"list": "More Options",
"position": 14
}
,
{
"id": "28474",
"name": "FX 3 Disque",
"price": "1019.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "More Options",
"position": 15
}
,
{
"id": "35139",
"name": "FX 2 Disque Equipped Stagger",
"price": "969.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 16
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "969.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 19
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "709.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 20
}
,
{
"id": "27991",
"name": "FX 2 Disque",
"price": "679.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 21
}
,
{
"id": "27992",
"name": "FX 2 Disque pour Femmes",
"price": "679.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 22
}
,
{
"id": "27987",
"name": "FX 1 Disque",
"price": "629.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}