if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36579",
"name": "Endura SingleTrack Fleece Long Sleeve Cycling Jersey",
"price": "89.99",
"brand": "Endura",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41414",
"name": "PEARL iZUMi Attack Long Sleeve Jersey",
"price": "75.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41413",
"name": "PEARL iZUMi Attack Thermal Long Sleeve Jersey",
"price": "75.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40745",
"name": "PEARL iZUMi Interval Cycling Jersey",
"price": "70.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40744",
"name": "PEARL iZUMi Rove Long Sleeve Flannel Cycling Shirt",
"price": "69.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40743",
"name": "PEARL iZUMi Prospect Cycling Shirt",
"price": "65.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40747",
"name": "PEARL iZUMi Attack Cycling Jersey",
"price": "60.0",
"brand": "PEARL iZUMi",
"category": "Mountain bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22790",
"name": "Bontrager Quantum Fitness Bike Tech Tee",
"price": "9.99",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}