Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "23594",
"name": "Bontrager Boulevard Fluid cykelsadel",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21589",
"name": "Bontrager Boulevard cykelsadel",
"price": "499.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "10508",
"name": "Trek Urban Saddles",
"price": "459.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "583.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28576",
"name": "Electra Vinyl Ergo sadel",
"price": "459.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "35707",
"name": "Electra Ziggy gummisadel",
"price": "423.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 6
}
,
{
"id": "14003",
"name": "Electra Cruiser XL sadel",
"price": "383.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "07747",
"name": "Diamant Retro-sadlar",
"price": "349.0",
"brand": "Diamant",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "14002",
"name": "Electra Cruiser sadel med gummielaster",
"price": "319.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "35706",
"name": "Electra Gnome Gummielaster sadel",
"price": "264.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35708",
"name": "Electra Miami sadel med gummifjädrar",
"price": "264.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 11
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser sadel",
"price": "259.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 12
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser sadel",
"price": "259.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}