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:

  1. Go to our CDN and navigate to the version you need.
  2. Open acoconnect.min.js and copy the core library section from it.
  3. 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.