if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44883",
"name": "Praxis Carbon Road Crankset for Domane+ LT",
"price": "399.99",
"brand": "Praxis",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36221",
"name": "Trek-Diamant Prowheel 40T Narrow/Wide With 68mm BB Crankset",
"price": "139.99",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34022",
"name": "Trek-Diamant 42T 10/11/12 Speed Aluminum Black Crankset",
"price": "94.99",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44884",
"name": "FSA Fazua Domane+ LT Crank Arms",
"price": "39.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}