if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "29979",
"name": "Fox Factory Level Strut",
"price": "589.99",
"brand": "Fox",
"category": "Bike rear suspension",
"variant": "black_gold",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44111",
"name": "Fox Performance Level Remote IsoStrut",
"price": "569.99",
"brand": "Fox",
"category": "Bike rear suspension",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31056",
"name": "Fox Racing Shox Remote Fork & Shock Lever",
"price": "59.99",
"brand": "Fox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29995",
"name": "Trek Supercaliber 29 IsoStrut ophangingslagers",
"price": "34.99",
"brand": "Fox",
"category": "Bike rear suspension",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}