Web SDKDetecting the current version of the IDmission Web SDK

Detecting the current version of the IDmission Web SDK

Detecting the current version of the IDmission Web SDK

If you're ever wondering which version you have loaded, you can access it as a property of the global WebSDK bundle via window.IDmissionSDK.version.

You can also capture this information from the event fired at load time via e.detail.webSdkVersion like so:

<script type="module">
    document.addEventListener('idmission-web-sdk.ready', (e) => {
      console.log('web sdk version:', e.detail.webSdkVersion)
    })
</script>
Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.