if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25008",
"name": "Lizard Skins Cache Saddle Bag",
"price": "27.99",
"brand": "Lizard Skins",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33712",
"name": "Lizard Skins Utility Strap",
"price": "26.99",
"brand": "Lizard Skins",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33963",
"name": "Wolf Tooth B-RAD Strap Base Mount",
"price": "24.95",
"brand": "Wolf Tooth Components",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}