Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "466.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33772",
"name": "Electra Reflective Charcoal Saddle Bag",
"price": "223.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "35898",
"name": "Electra Ziggy Saddle Bag",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "35899",
"name": "Electra Miami Saddle Bag",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 4
}
,
{
"id": "33775",
"name": "Electra Heather Charcoal Saddle Bag",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "33774",
"name": "Electra Leopard Saddle Bag",
"price": "149.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "More Options",
"position": 6
}
,
{
"id": "33773",
"name": "Electra Doodle Saddle Bag",
"price": "149.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}