Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35213",
"name": "Bali Cruiser Go!",
"price": "1449.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "More Options",
"position": 1
}
,
{
"id": "35209",
"name": "Cruiser Go! Step-Thru",
"price": "1269.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "35208",
"name": "Cruiser Go! Step-Over",
"price": "1269.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35211",
"name": "Shibori Cruiser Go!",
"price": "1269.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue_white",
"list": "More Options",
"position": 4
}
,
{
"id": "33463",
"name": "Ghostrider Go! 5i",
"price": "2179.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}