Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "32443",
"name": "Electra Attitude Cruiser styre",
"price": "349.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36170",
"name": "Electra Vale sandblåst styre",
"price": "319.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "36737",
"name": "Electra Townie sandblåst styre",
"price": "319.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "299.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32444",
"name": "Electra Café Cruiser Handlebar",
"price": "229.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "13994",
"name": "Electra Mini Ape Hanger Cruiser Handlebar",
"price": "191.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}