Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44507",
"name": "Domane+ SLR 9",
"price": "16999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "More Options",
"position": 1
}
,
{
"id": "44607",
"name": "Domane+ SLR 7 AXS",
"price": "13149.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "More Options",
"position": 2
}
,
{
"id": "44505",
"name": "Domane+ SLR 7",
"price": "13149.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "More Options",
"position": 3
}
,
{
"id": "49164",
"name": "Domane+ SLR 8 AXS",
"price": "13199.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "44506",
"name": "Domane+ SLR 9 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}