Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack styrbånd",
"price": "249.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork styrbånd",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack styrbånd",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork styrbånd",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "37297",
"name": "Bontrager Supertack-styrbåndssæt",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "47896",
"name": "Trek Perf Line styrbånd sæt",
"price": "199.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork styrbånd sæt",
"price": "159.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "47893",
"name": "Trek Gel Cork styrbånd sæt",
"price": "149.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility styrbånd",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
,
{
"id": "12523",
"name": "Bontrager Supertack styrbånd",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}