if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "40494",
"name": "District 2 Equipped",
"price": "26490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "26490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40492",
"name": "District 1 Equipped",
"price": "23490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "23490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "23472.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33493",
"name": "District 2 Equipped",
"price": "19990.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "17990.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}