Checking your version of Heap requires familiarity with using your web browser’s console.
To check the version you’re currently using, open your browser’s console and enter the following code:heap?.getConfig?.().sdk?.version || heap.version.heapJsVersion
If the console outputs 5.x.x, you’re using the latest version of Heap. If it shows a 4.x.x version, you’re using an older version and we recommend upgrading to the latest version. If the output is something other than x.x.x, you are likely using an experimental version as part of a test or deployment.
Using multiple versions of Heap
Using multiple different versions of Heap on your app/website can produce unexpected and unwanted behavior. We strongly recommend that every page of your app/website associated with your Heap enviornment uses the same version of Heap.