Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "40276",
"name": "Electra Classic Faux Leather Ergo Grip Set",
"price": "239.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25481",
"name": "Håndsyet Electra-håndtagssæt, korte",
"price": "189.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35711",
"name": "Electra Ziggy-gummigreb",
"price": "159.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 3
}
,
{
"id": "35712",
"name": "Electra Miami-gummigreb",
"price": "159.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "More Options",
"position": 4
}
,
{
"id": "29403",
"name": "Electra Townie Kraton Ergo-sæt med langt og kort håndtag",
"price": "135.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "29402",
"name": "Electra Townie Kraton Ergo-sæt med lange håndtag",
"price": "135.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 6
}
,
{
"id": "25480",
"name": "Electra Ergo kort/langt håndtag, sæt",
"price": "119.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22357",
"name": "Electra Beach to City Long & Short Grips",
"price": "116.1",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35710",
"name": "Electra Gnome-gummigreb",
"price": "99.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35713",
"name": "Electra Retro Stripe-gummihåndtag",
"price": "99.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "12641",
"name": "Electra håndsyede håndtag lange, sæt",
"price": "95.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}