if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "30684",
"name": "Electra Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21643",
"name": "Electra Classics Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36007",
"name": "Electra Ziggy Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14624",
"name": "Electra Flowers Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36006",
"name": "Electra Gnome Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36009",
"name": "Electra Retrostripe Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14589",
"name": "Electra Camo Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36008",
"name": "Electra Sun Rays Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_yellow",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12663",
"name": "Electra Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black_white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "14591",
"name": "Electra Savannah Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "21642",
"name": "Electra Swirl Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40279",
"name": "Electra Fern Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}