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