if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "12666",
"name": "Electra Barefoot Pedal Set",
"price": "",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12669",
"name": "Electra Deluxe Block Pedal Set",
"price": "",
"brand": "Electra",
"category": "Bike pedals",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29377",
"name": "Electra Grip Tape Pedal Set",
"price": "",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12667",
"name": "Electra Chopper Pedal Set",
"price": "",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}