Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35971",
"name": "Electra Townie Commute Go! Jeu de direction à verrouillage",
"price": "19.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21507",
"name": "Electra Townie Headset Covers",
"price": "17.49",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "41764",
"name": "Electra 1-1/8" Threadless External Cup Headset",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "35972",
"name": "Electra Cruiser Go! Jeu de direction fileté",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}