Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "32096",
"name": "Samolepky s logem na řetězovou vzpěru Trek Top Fuel 29 2020",
"price": "330.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14807",
"name": "Symboly na hlavovou trubku Trek",
"price": "190.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "12711",
"name": "Electra Delivery 3i Tank Plate",
"price": "750.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "tan",
"list": "More Options",
"position": 3
}
,
{
"id": "32995",
"name": "Logo na hlavovou trubku kol Diamant",
"price": "580.0",
"brand": "Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22778",
"name": "Panely s reklamou na kolo Electra Cruiser Lux",
"price": "580.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "white_black",
"list": "More Options",
"position": 5
}
,
{
"id": "34817",
"name": "Electra Headtube Badge",
"price": "360.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "44283",
"name": "Electra Loft Go! Seat Tube Badge",
"price": "180.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}