Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 10D EQ Lav indstigning",
"price": "22399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i lav indstigning",
"price": "22399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D EQ med lav på-/afstigning",
"price": "22399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 3
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i EQ med lav på-/afstigning",
"price": "20799.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 4
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i EQ med alm. overrør",
"price": "20799.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33006",
"name": "Townie Go! 5i EQ med lav på-/afstigning",
"price": "19199.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}