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": "14245",
"name": "Bontrager Grippytack styrebånd",
"price": "110.7",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "37298",
"name": "Bontrager Perf Line styreteipsett",
"price": "149.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork styreteip",
"price": "114.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "37297",
"name": "Bontrager Supertack styrebånd",
"price": "184.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"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": 6
}
,
{
"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": 7
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "199.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "99.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
,
{
"id": "12523",
"name": "Bontrager Supertack styrebånd",
"price": "95.7",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}