Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41768",
"name": "Electra Rear Mount 330mm Kickstand",
"price": "89.9",
"brand": "Electra",
"category": "Bike kickstands",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "36233",
"name": "Bontrager Integrated Rear Kickstand Hardware Kit",
"price": "29.9",
"brand": "Bontrager-Electra",
"category": "Bike kickstands",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}