Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "44687",
"name": "Electra Loft Go! 7D Fender Hardware Kit",
"price": "380.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "37593",
"name": "Electra Townie Go! 7D & Cruiser Go! Fender Hardware Kit",
"price": "330.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "32653",
"name": "Electra Vale Go! Montážní prvky na přední blatník",
"price": "300.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "220.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}