if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36204",
"name": "Endura BaaBaa Blend Long Sleeve Cycling Baselayer",
"price": "79.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36583",
"name": "Endura Transloft Long Sleeve Cycling Baselayer",
"price": "64.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36584",
"name": "Endura Translite Windproof Sleeveless Cycling Baselayer",
"price": "59.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40203",
"name": "Endura Translite Short Sleeve Cycling Baselayer II",
"price": "44.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}