Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41519",
"name": "Fuel EXe 9.7",
"price": "5989.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41570",
"name": "Fuel EXe 9.8",
"price": "8169.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 2
}
,
{
"id": "41568",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "8749.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "41478",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "6079.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "More Options",
"position": 4
}
,
{
"id": "41503",
"name": "Fuel EXe 8 XT",
"price": "5439.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "41371",
"name": "Fuel EXe 5",
"price": "4539.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41657",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "12599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "36368",
"name": "Fuel EXe 9.9 XTR",
"price": "12139.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "41574",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "10799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "36372",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "13039.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "More Options",
"position": 10
}
,
{
"id": "36366",
"name": "Fuel EXe 9.8 GX AXS",
"price": "6249.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 11
}
,
{
"id": "36359",
"name": "Fuel EXe 9.8",
"price": "5849.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 12
}
,
{
"id": "36361",
"name": "Fuel EXe 9.5",
"price": "4149.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}