Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36569",
"name": "Trek Race Crew Merino Wool Cycling Socks",
"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": "47321",
"name": "Rapha Pro Team Cycling Socks",
"price": "23.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "36532",
"name": "Trek Race Reflective Crew Cycling Socks",
"price": "16.14",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "46741",
"name": "Santini Lidl-Trek Team Cycling Socks",
"price": "14.99",
"brand": "Santini",
"category": "Men's cycling socks",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "36534",
"name": "Trek Race Crew Cycling Socks",
"price": "14.44",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "36533",
"name": "Trek Race Quarter Cycling Socks",
"price": "12.74",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "47322",
"name": "Rapha Logo Cycling Socks",
"price": "18.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35319",
"name": "Bontrager Velocis Crew Cycling Socks",
"price": "9.5",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
,
{
"id": "35322",
"name": "Bontrager Race Crew Cycling Socks",
"price": "7.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "35320",
"name": "Bontrager Race Quarter Cycling Socks",
"price": "5.2",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "More Options",
"position": 11
}
,
{
"id": "33835",
"name": "Electra Surfbird Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "More Options",
"position": 12
}
,
{
"id": "33838",
"name": "Electra Tie Dye Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "More Options",
"position": 13
}
,
{
"id": "33836",
"name": "Electra Burger Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}