if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35900",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35898",
"name": "Electra Ziggy Saddle Bag",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35904",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36007",
"name": "Electra Ziggy Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35892",
"name": "Electra Ziggy Handlebar Bag",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35707",
"name": "Electra Ziggy Elastomer Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35896",
"name": "Electra Ziggy Phone Bag",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35711",
"name": "Electra Ziggy Rubber Grips",
"price": "",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36760",
"name": "Electra Wired Can Holder & Ziggy Koozie",
"price": "",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35954",
"name": "Electra Ziggy Cruiser Go!/Townie Go! 7D Fender Set",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "tan",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}