if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "45021",
"name": "5dílná čepice 100% Trek Factory Racing",
"price": "849.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45022",
"name": "Čepice s bambulí 100% Trek Factory Racing Pom Beanie",
"price": "769.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}