Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "1050.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12720",
"name": "Plášť pro kola Electra Retrorunner Cruiser",
"price": "799.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 2
}
,
{
"id": "34514",
"name": "Plášť pro městská kola Electra Balloon",
"price": "719.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34706",
"name": "Plášť pro městská 24palcová kola Electra Strat-O-Balloon Cruiser",
"price": "580.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 4
}
,
{
"id": "12719",
"name": "Pláště Electra Cruiser s agresivním vzorkem",
"price": "580.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12716",
"name": "Plášť Electra Cruiser Fatti-O 24 palců",
"price": "520.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "21678",
"name": "Pláště Electra Lux Fat, 26 palců",
"price": "1500.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}