if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "22809",
"name": "Bontrager Mesh Women's Sleeveless Cycling Baselayer",
"price": "29.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22807",
"name": "Bontrager Mesh Women's Short Sleeve Cycling Baselayer",
"price": "29.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36205",
"name": "Endura BaaBaa Blend Women's Long Sleeve Cycling Baselayer",
"price": "79.99",
"brand": "Endura",
"category": "Women's cycling baselayers",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}