if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26375",
"name": "Electra Townie Original 7D Tall Men's 26" Forks",
"price": "54.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37580",
"name": "Electra Shibori Cruiser Go! Fork",
"price": "54.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37578",
"name": "Electra Cruiser Go! Step-Over Fork",
"price": "54.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}