Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23594",
"name": "Bontrager Boulevard Fluid Bike Saddle",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21589",
"name": "Bontrager Boulevard Bike Saddle",
"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": "28576",
"name": "Electra Vinyl Ergo sykkelsete",
"price": "459.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "07747",
"name": "Diamant Retro Saddles",
"price": "349.0",
"brand": "Diamant",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12228",
"name": "Trek Fashion Saddles",
"price": "349.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown_white",
"list": "More Options",
"position": 6
}
,
{
"id": "35707",
"name": "Electra Ziggy elastomersete",
"price": "338.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 7
}
,
{
"id": "14003",
"name": "Electra Cruiser XL Bike Saddle",
"price": "306.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35706",
"name": "Electra Gnome elastomersete",
"price": "264.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35708",
"name": "Electra Miami elastomersete",
"price": "264.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 10
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "259.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser sykkelsete",
"price": "259.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 12
}
,
{
"id": "14002",
"name": "Electra Cruiser Bike Saddle w/Elastomers",
"price": "255.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}