if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "145.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47315",
"name": "Rapha Pro Team Lightweight Cycling Gilet",
"price": "135.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47317",
"name": "Rapha Core Women's Cycling Gilet",
"price": "95.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "59.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "57.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24973",
"name": "Bontrager Circuit Women's Cycling Wind Vest",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "teal",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}