if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "32769",
"name": "FX 1",
"price": "2899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37054",
"name": "Wahoo 24",
"price": "2599.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37052",
"name": "Wahoo 20",
"price": "2299.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36846",
"name": "Ośmiobiegowy Precaliber 24 z zawieszeniem",
"price": "1899.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36268",
"name": "Precaliber 20 7-biegowy",
"price": "1799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36965",
"name": "Precaliber 24 8-biegowy",
"price": "1799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "1599.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36271",
"name": "Precaliber 20 Freewheel",
"price": "1599.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "1399.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33542",
"name": "Elan Super Deluxe (Midstep)",
"price": "4699.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33183",
"name": "Ubari Deluxe (Lowstep)",
"price": "3799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greenlight",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}