Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "36036",
"name": "Trek RSL Knit-landevejscykelsko",
"price": "3499.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35040",
"name": "Trek RSL-landevejscykelsko",
"price": "2999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "34133",
"name": "Trek Velocis-landevejscykelsko",
"price": "1999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "45274",
"name": "Trek Circuit landevejscykelsko",
"price": "1199.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "31573",
"name": "Bontrager Cadence-cykelsko til indendørs brug",
"price": "1099.0",
"brand": "Bontrager",
"category": "Indoor cycling shoes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34132",
"name": "Bontrager Circuit landevejscykelsko",
"price": "899.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport-cykelsko",
"price": "799.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31572",
"name": "Bontrager SSR Multisport cykelsko til kvinder",
"price": "799.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "More Options",
"position": 8
}
,
{
"id": "31577",
"name": "Bontrager GR2 cykelsko til gravel",
"price": "650.0",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "33678",
"name": "Bontrager Solstice landevejssko",
"price": "649.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}