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