if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "06326",
"name": "Park Tool Magnetic Parts Bowl",
"price": "12.95",
"brand": "Park Tool",
"category": "Bike tools & maintenance",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28355",
"name": "Park Tool AWS-10 Fold-Up Hex Wrench Set",
"price": "12.95",
"brand": "Park Tool",
"category": "Bike tools & maintenance",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}