if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "5799.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "28999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "20499.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "17899.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46765",
"name": "Rama z widelcem Checkpoint SL Gen 3",
"price": "12099.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}