How to add Orka on your Single Page Application (SPA) ?
Chat Application SDK Documentation
Getting Started
Include the SDK Script
<script type="text/javascript">
window.ORKA_APP_ID = "[YOUR PROJECT ID]";
(function () {
d = document;
s = d.createElement("script");
s.src = "//widget.orka.chat/app.js";
s.async = 1;
d.getElementsByTagName("head")[0].appendChild(s);
})();
</script>Session Data
Optional Auto-Loading Configuration
Single Page Application
Initialization
Initialize the Widget
API Methods
update(data)
update(data)reset()
reset()toggle()
toggle()show(message)
show(message)hide()
hide()destroy()
destroy()Example Integration
Troubleshooting
Common Issues
Last updated