Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "9449.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "13039.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "13039.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "8629.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 4
}
,
{
"id": "35755",
"name": "Speed Concept SLR 7 AXS",
"price": "9439.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "More Options",
"position": 5
}
,
{
"id": "35746",
"name": "Kit cadre Speed Concept TT",
"price": "6109.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35671",
"name": "Kit cadre Speed Concept SLR",
"price": "5659.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}