if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36569",
"name": "Trek Race Crew Merino Wool Radsocke",
"price": "17.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"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": "CATEGORY",
"position": 2
}
,
{
"id": "47321",
"name": "Rapha Pro Team Radsocke",
"price": "23.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36532",
"name": "Trek Race Reflective Crew Fahrradsocke",
"price": "16.14",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36534",
"name": "Trek Race Crew Fahrradsocke",
"price": "14.44",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36533",
"name": "Trek Race Quarter Fahrradsocke",
"price": "12.74",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47322",
"name": "Rapha Logo Radsocke",
"price": "18.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33835",
"name": "Electra Surfbird Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33838",
"name": "Electra Tie Dye Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33836",
"name": "Electra Burger Socks",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}