Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "349.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork-styrebånd",
"price": "188.3",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack styrebånd",
"price": "184.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Bontrager Perf Line styreteipsett",
"price": "221.4",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork styreteip",
"price": "195.3",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Bontrager Supertack styrebånd",
"price": "184.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork styreteip sett",
"price": "229.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic Handlebar Tape",
"price": "258.3",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 9
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "188.3",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "12523",
"name": "Bontrager Supertack styrebånd",
"price": "95.7",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}