Updating using script-tags
We are using Semantic Versioning for our collector, therefore it is possible to include Bitmovin Analytics in three different ways:
1<script type="text/javascript" src="https://cdn.bitmovin.com/analytics/web/2/bitmovinanalytics.min.js"></script>2<script type="text/javascript" src="https://cdn.bitmovin.com/analytics/web/2.17/bitmovinanalytics.min.js"></script>3<script type="text/javascript" src="https://cdn.bitmovin.com/analytics/web/2.17.1/bitmovinanalytics.min.js"></script>
- If you only specify the major version, you will always get the latest minor and patch version within this major release cycle. Staying on the same major will guarantee that there are no incompatible API changes, but you’ll still get the latest features.
- If you specify a minor version, you will always get the latest patch version within this minor release cycle. This won’t give you new features, but will make sure you always get the latest bugfixes for the specified minor version.
- The third option will always include the exact patch version you’ve specified.
Updating using npm
To get the latest version of the Bitmovin collector you just need to run
1npm update bitmovin-analytics
If you want to get a specific version of the Bitmovin collector you can use the install command of npm
1npm install [email protected]
Check out the changelog
To see what has changed in the collector since you last updated it please refer to the Analytics changelog page for the Bitmovin Analytics Web Collector.