Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "999.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "399.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30763",
"name": "Zestaw lampek rowerowych Bontrager Ion Comp R/Flare R City",
"price": "549.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "41450",
"name": "Zestaw lampek Trek Ion 200 RT / Flare RT",
"price": "489.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44447",
"name": "Zestaw lampek rowerowych Trek Ion 50 R / Flare R Metro",
"price": "199.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41452",
"name": "Zestaw lampek Trek Ion Pro RT / Flare RT",
"price": "849.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41443",
"name": "Zestaw lampek rowerowych Trek Ion 100 R/Flare R City",
"price": "329.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "380.0",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}