if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33960",
"name": "Wolf Tooth RoadLink Direct Mount Shimano",
"price": "29.95",
"brand": "Wolf Tooth Components",
"category": "Bike derailleurs",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33957",
"name": "Wolf Tooth GoatLink 10 Speed",
"price": "24.95",
"brand": "Wolf Tooth Components",
"category": "Bike derailleurs",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33959",
"name": "Wolf Tooth RoadLink",
"price": "21.95",
"brand": "Wolf Tooth Components",
"category": "Bike derailleurs",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37569",
"name": "Electra Townie 135 x 12mm Derailleur Hanger",
"price": "17.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31275",
"name": "Trek Allant+/Diamant Zouma Supreme+ Derailleur Protector",
"price": "15.99",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}