Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "415.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33772",
"name": "Electra Reflective Charcoal sadeltaske",
"price": "207.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "40316",
"name": "Electra Fern sadeltaske",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 3
}
,
{
"id": "35898",
"name": "Electra Ziggy sadeltaske",
"price": "183.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 4
}
,
{
"id": "35899",
"name": "Electra Miami sadeltaske",
"price": "183.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 5
}
,
{
"id": "33774",
"name": "Electra Leopard Saddle Bag",
"price": "114.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "More Options",
"position": 6
}
,
{
"id": "33773",
"name": "Electra Doodle Saddle Bag",
"price": "114.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}