Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "35559",
"name": "Bontrager Adventure Handlebar Bag",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25928",
"name": "Bontrager Interchange Handlebar Bracket 31.8 Clamps",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "466.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33746",
"name": "Electra Reflective Charcoal Cylinder styreveske",
"price": "294.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "More Options",
"position": 4
}
,
{
"id": "35892",
"name": "Electra Ziggy Handlebar Bag",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 5
}
,
{
"id": "35893",
"name": "Electra Miami Handlebar Bag",
"price": "191.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 6
}
,
{
"id": "33611",
"name": "Electra Washi Handlebar Bag with Lid",
"price": "149.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "35894",
"name": "Electra Gnome Handlebar Bag",
"price": "124.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33614",
"name": "Electra Sun Shimmer Handlebar Bag",
"price": "124.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_yellow",
"list": "More Options",
"position": 9
}
,
{
"id": "33615",
"name": "Electra Graffiti Drip Handlebar Bag",
"price": "124.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "blue_redlight",
"list": "More Options",
"position": 10
}
,
{
"id": "33613",
"name": "Electra EBC 3000 Handlebar Bag",
"price": "124.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "greylight_white",
"list": "More Options",
"position": 11
}
,
{
"id": "35895",
"name": "Electra Tutti Frutti Handlebar Bag",
"price": "124.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "More Options",
"position": 12
}
,
{
"id": "47332",
"name": "Rapha Bar Bag",
"price": "750.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black_greydark",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}