if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "10867",
"name": "Fanions pour vélo suiveur Trek",
"price": "6.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45160",
"name": "Trek Fetch+ 2 Family Pack Seat Base Mount Bracket",
"price": "5.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10908",
"name": "Trek Pedal Trailer Hinge Bolt & Nut",
"price": "2.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}