Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36569",
"name": "Cyklistické ponožky Trek Race Crew z merino vlny",
"price": "17.99",
"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": "19.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36532",
"name": "Vysoké reflexní závodní ponožky Trek Race",
"price": "16.14",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "46741",
"name": "Cyklistické ponožky Santini Lidl-Trek Team",
"price": "14.99",
"brand": "Santini",
"category": "Men's cycling socks",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "36534",
"name": "Cyklistické ponožky Trek Race Crew",
"price": "14.44",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "36533",
"name": "Klasické cyklistické ponožky Trek Race Quarter",
"price": "12.74",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "47322",
"name": "Cyklistické ponožky Rapha Logo",
"price": "18.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "33835",
"name": "Ponožky Electra Surfbird",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "33836",
"name": "Ponožky Electra Burger",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "More Options",
"position": 9
}
,
{
"id": "33838",
"name": "Ponožky Electra Tie Dye",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "More Options",
"position": 10
}
,
{
"id": "23671",
"name": "Electra UFO 9" Socks",
"price": "11.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}