if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "49691",
"name": "Bluza z kapturem unisex z łamanym logo Trek z prawej",
"price": "299.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49118",
"name": "Bluza z kapturem unisex z łamanym logo Trek z lewej",
"price": "299.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37324",
"name": "T-shirt Trek Ride Club",
"price": "129.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "279.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}