Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "26244",
"name": "Klika s převodníkem Electra Townie, 24 palců",
"price": "1150.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "26237",
"name": "Klika s převodníkem Electra Townie",
"price": "1150.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "1100.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7D Gen 2 Crankset",
"price": "1050.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "26243",
"name": "Klika s převodem Electra Townie",
"price": "900.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "26234",
"name": "Electra Amsterdam Original 3 Crankset",
"price": "800.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "750.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "26232",
"name": "Electra Straight 8 3i Crankset",
"price": "330.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}