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": "36291",
"name": "T-shirt damski Trek Original",
"price": "110.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "279.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45021",
"name": "5-panelowa czapka w barwach Trek Factory Racing",
"price": "179.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45022",
"name": "Czapka z pomponem w barwach Trek Factory Racing",
"price": "149.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}