if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25955",
"name": "Electra Wicker Front Basket Mounting Bracket",
"price": "10.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35943",
"name": "Electra Reflective Cargo Net",
"price": "7.93",
"brand": "Electra",
"category": "Bike racks",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37553",
"name": "Electra Plasket 12mm Bracket",
"price": "5.5",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37555",
"name": "Electra Plasket 22.2mm Bracket",
"price": "5.5",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37552",
"name": "Electra Plasket 32mm Bracket",
"price": "5.5",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37554",
"name": "Electra Plasket 10mm Bracket",
"price": "5.5",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37556",
"name": "Electra Plasket Strap and Pin",
"price": "3.5",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32852",
"name": "Bontrager-Electra MIK Bike Rack Carrier Plate",
"price": "24.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}