Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23826",
"name": "Electra Townie 7D EQ 24" Ladies' hjul",
"price": "1749.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "23827",
"name": "Electra Townie 7D EQ 26" Ladies' hjul",
"price": "1749.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "bluelight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "23822",
"name": "Electra Townie 3i EQ 26" hjul",
"price": "1749.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "36229",
"name": "Electra Townie Commute GO! 5i 700c hjul",
"price": "1099.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "23830",
"name": "Electra Townie 7D 26" hjul",
"price": "799.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black_greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "23819",
"name": "Electra Townie 21D 26" hjul",
"price": "799.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "green_greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "23818",
"name": "Electra Townie 1/7/21 26" hjul",
"price": "749.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "23825",
"name": "Electra Townie 7D 26" Ladies' hjul",
"price": "749.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "bluelight_greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "23817",
"name": "Electra Townie 1 26" hjul",
"price": "699.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}