if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "11199.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "6699.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42277",
"name": "Checkpoint ALR 5 AXS",
"price": "15499.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35668",
"name": "Rama z widelcem Checkpoint ALR",
"price": "7299.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}