if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "36036",
"name": "Chaussure de cyclisme Trek RSL Knit Route",
"price": "499.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Chaussure de cyclisme Trek RSL Route",
"price": "439.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Chaussure de cyclisme Trek Velocis Route",
"price": "275.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Chaussures de cyclisme sur route Trek Circuit",
"price": "165.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35041",
"name": "Chaussures VTT Trek RSL",
"price": "439.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45271",
"name": "Chaussure de VTT Trek Cambion",
"price": "299.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45272",
"name": "Chaussure de VTT Trek Foray",
"price": "189.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}