Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "34651",
"name": "Trek Circuit-cykeltrøje",
"price": "499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Trek Circuit LTD cykeltrøje",
"price": "499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "710.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal-cykeltrøje med lange ærmer",
"price": "599.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "36068",
"name": "Trek Circuit LTD-cykeltrøje med lange ærmer",
"price": "439.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "47299",
"name": "Rapha Brevet Cycling Jersey",
"price": "1400.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "47293",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "710.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "More Options",
"position": 7
}
,
{
"id": "34653",
"name": "Trek Solstice-cykeltrøje",
"price": "249.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "45331",
"name": "Santini Lidl-Trek Replica Race-cykeltrøje",
"price": "559.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}