Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47080",
"name": "Trek Integrated City Handlebar",
"price": "39.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34025",
"name": "Trek Riser 25.4 20 Degree Cruiser Handlebar",
"price": "22.49",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "31740",
"name": "Bontrager Urban 31.8 Carbon Cruiser Handlebar",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35281",
"name": "Bontrager Capital 31.8 Polished Alloy Cruiser Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22200",
"name": "Bontrager Satellite 31.8 Matte Alloy Cruiser Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34024",
"name": "Bontrager Satellite 25.4 35 Degree Cruiser Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "32443",
"name": "Řídítka Electra Attitude Cruiser",
"price": "34.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36170",
"name": "Electra Vale Sandblasted Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "36737",
"name": "Electra Townie Sandblasted Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "13994",
"name": "Řídítka Electra Cruiser Mini Ape Hanger",
"price": "23.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "13992",
"name": "Electra Bullhorn Cruiser Handlebar",
"price": "22.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 12
}
,
{
"id": "12765",
"name": "Electra Amsterdam Handlebar",
"price": "22.49",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 13
}
,
{
"id": "32444",
"name": "Řídítka Electra Café Cruiser",
"price": "22.49",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}