if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34405",
"name": "Electra Solid Color Forward Twister Bike Bell",
"price": "4.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45456",
"name": "Electra Ponto Go! Downtube Bumper",
"price": "4.99",
"brand": "Electra",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36011",
"name": "Electra Bottom Monostay Plug",
"price": "3.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36010",
"name": "Electra Rear Monostay Plug",
"price": "3.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33676",
"name": "Electra Vale Go! Speed Sensor Alignment Mount",
"price": "3.5",
"brand": "Bontrager-Electra",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44298",
"name": "Electra Loft/Loft Go! Rear Fender Plug",
"price": "2.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37410",
"name": "Electra TX20 Monostay Bolt",
"price": "2.99",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45063",
"name": "Electra Ponto Go! Rear Fender Cable Grommet",
"price": "2.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37409",
"name": "Electra Tamper Resistant Monostay Bolt",
"price": "2.99",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}