if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "48906",
"name": "Rapha Merino Cycling Baselayer",
"price": "67.5",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "36583",
"name": "Endura Transloft Long Sleeve Cycling Baselayer",
"price": "64.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36584",
"name": "Endura Translite Windproof Sleeveless Cycling Baselayer",
"price": "59.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47300",
"name": "Rapha Lightweight Sleeveless Cycling Baselayer",
"price": "50.25",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
]
}
});
} else {
console.log("dataLayer");
}