var chatbox = document.getElementById('fb-customer-chat'); chatbox.setAttribute("page_id", "1511124329177808"); chatbox.setAttribute("attribution", "biz_inbox");