Update the Connect web library
The way you update the Connect JavaScript plugin depends on where the core library is hosted. If in doubt, check the scr
attribute in the JavaScript snippet.
- If the library is hosted in our CDN, you needn't do anything. The core library is always up-to-date.
<script src="https://cdn.goacoustic.com/connect/latest/acoconnect.min.js"></script>
<script>
window.ACOCONNECT && window.ACOCONNECT.initLib("YOUR APP ID", "YOUR COLLECTOR POST URL");
</script>
- If the core library is hosted on your server, then you are responsible for updating it.
To update the core library, do the following:
- Go to our CDN and navigate to the version you need.
- Open acoconnect.min.js and copy the core library section from it.
- Open the custom JavaScript file on your web server and replace the core library section with the newer one.
// custom .js file structure
<core library, minified> // don't edit
<configuration> // for editing
Note
For version history, see Connect Web SDK release notes.
Updated about 23 hours ago