if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36532",
"name": "Trek Race Reflective Crew Cycling Sock",
"price": "15.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36534",
"name": "Trek Race Crew Cycling Sock",
"price": "13.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36533",
"name": "Trek Race Quarter Cycling Sock",
"price": "11.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35319",
"name": "Bontrager Velocis Crew Cycling Sock",
"price": "9.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35320",
"name": "Bontrager Race Quarter Cycling Sock",
"price": "7.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35322",
"name": "Bontrager Race Crew Cycling Sock",
"price": "7.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35102",
"name": "Bontrager Race Merino Wool Crew Cycling Sock",
"price": "5.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36199",
"name": "Endura Hummvee Waterproof Cycling Sock II",
"price": "25.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36200",
"name": "Endura Jagged Cycling Sock",
"price": "18.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35361",
"name": "100% Rhythm Merino Wool Performance Cycling Socks",
"price": "10.5",
"brand": "100%",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32674",
"name": "DeFeet Wooleator Comp 6" Business Time Socks",
"price": "14.39",
"brand": "DeFeet",
"category": "Cycling socks",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33836",
"name": "Electra Burger Socks",
"price": "9.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33835",
"name": "Electra Surfbird Socks",
"price": "9.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}