if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35710",
"name": "Electra Gnome Rubber Grips",
"price": "",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35894",
"name": "Electra Gnome Handlebar Bag",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35706",
"name": "Electra Gnome Elastomer Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36006",
"name": "Electra Gnome Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34332",
"name": "Electra Gnome Lifestyle Lux Bike Helmet",
"price": "",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34330",
"name": "Electra Gnome Lifestyle Lux Bike Helmet",
"price": "",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34483",
"name": "Electra Gnome Ringer Bike Bell",
"price": "",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}