if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41731",
"name": "Trek Thermal Cycling Arm Warmer",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41236",
"name": "Trek UV Sunstop Cycling Leg Cover",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41734",
"name": "Trek Thermal Cycling Leg Warmer",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41235",
"name": "Trek UV Sunstop Cycling Arm Cover",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}