Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "36569",
"name": "Trek Race Crew-cykelstrømpe af merinould",
"price": "149.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36570",
"name": "Trek Race Crew Cushioned Merino Wool Cycling Sock",
"price": "179.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47321",
"name": "Rapha Pro Team Cycling Sock",
"price": "180.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "36532",
"name": "Trek Race Reflective Crew-cykelstrømpe",
"price": "135.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "46741",
"name": "Santini Lidl-Trek Team-cykelstrømper",
"price": "119.0",
"brand": "Santini",
"category": "Men's cycling socks",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "36534",
"name": "Trek Race Crew-cykelstrømper",
"price": "118.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "36533",
"name": "Trek Race Quarter-cykelstrømper",
"price": "101.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "33837",
"name": "Electra Scales Socks",
"price": "139.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_white",
"list": "More Options",
"position": 8
}
,
{
"id": "33836",
"name": "Electra Burger-strømper",
"price": "118.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "More Options",
"position": 9
}
,
{
"id": "33835",
"name": "Electra Surfbird-strømper",
"price": "118.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "33838",
"name": "Electra Tie Dye-strømper",
"price": "118.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}