Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22483",
"name": "Silniční tretry Bontrager Velocis",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "34132",
"name": "Silniční tretry Bontrager Circuit",
"price": "159.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "25000",
"name": "Cyklistické silniční tretry Bontrager XXX",
"price": "399.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "33678",
"name": "Silniční tretry Bontrager Solstice",
"price": "99.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31577",
"name": "Gravel tretry Bontrager GR2",
"price": "123.99",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31571",
"name": "Tretry Bontrager SSR Multisport",
"price": "119.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "31572",
"name": "Dámské tretry Bontrager SSR Multisport",
"price": "119.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "More Options",
"position": 7
}
,
{
"id": "31573",
"name": "Cyklistické tretry Bontrager Cadence Indoor",
"price": "149.99",
"brand": "Bontrager",
"category": "Indoor cycling shoes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22484",
"name": "Dámské silniční tretry Bontrager Velocis",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "30212",
"name": "Silniční tretry Bontrager Ballista Knit",
"price": "160.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}