Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "18749.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "13299.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "13259.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "12599.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 4
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "17999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 5
}
,
{
"id": "35746",
"name": "Kit cadre Speed Concept TT",
"price": "6399.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35671",
"name": "Kit cadre Speed Concept SLR",
"price": "6399.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 7
}
,
{
"id": "22055",
"name": "Kit cadre Speed Concept Rim",
"price": "4399.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}