Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "5449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "More Options",
"position": 1
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "4349.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 2
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "7509.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "4899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 4
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "4299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "10149.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "6999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "36992",
"name": "Rail 9 3e gén.",
"price": "6739.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35356",
"name": "Rail 9 GX 2e gén.",
"price": "5099.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark_black",
"list": "More Options",
"position": 9
}
,
{
"id": "35033",
"name": "Rail 5 625W 2e gén.",
"price": "4899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "More Options",
"position": 10
}
,
{
"id": "35034",
"name": "Rail 5 500W 2e gén.",
"price": "4499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "More Options",
"position": 11
}
,
{
"id": "35035",
"name": "Rail 7 2e gén.",
"price": "4349.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "More Options",
"position": 12
}
,
{
"id": "37066",
"name": "Rail 9.9 XTR Gen 4",
"price": "10139.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 13
}
,
{
"id": "35336",
"name": "Rail 9,5 2e gén.",
"price": "5799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "More Options",
"position": 14
}
,
{
"id": "35038",
"name": "Rail 9,7 2e gén.",
"price": "5324.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}