if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35709",
"name": "Electra Retro Stripe Elastomer Saddle",
"price": "39.93",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36009",
"name": "Electra Retrostripe Bar End Mirror",
"price": "29.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35713",
"name": "Electra Retro Stripe Rubber Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35933",
"name": "Electra Retro Stripe Forward Twister Bike Bell",
"price": "4.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}