There are two essential parts to a correct analytics setup
Analytics license
Collector Setup
## Analytics licenses
Licenses in Bitmovin Analytics are used to clearly separate data. This could be a particular app or web platform you are running your videos on.
One of the most common use-cases for having multiple licenses is to separate development and production environments. Using different licenses for each environment ensures that testing data is separated from production data. Consequently, both data-sets will not interfere with each other.
Every account has a standard license activated by default. You can find this license and create more at [Analytics -> Licenses](🔗)
### Domains
In order to use Analytics on your websites or apps, you have to allowlist the package name/domain of your app for which you want to use it. This is a security mechanism that protects your license from being used elsewhere.
So, if you want to use it on your website at `https://example.com
`, you have to add its domain `example.com
` accordingly. Subdomains of your domains (e.g. `subdomain.example.com
`) are allowed by default. For web environment `localhost
` is also allowed by default
Navigate to [Analytics -> Licenses](🔗)
Select a License
Scroll down to the Section "Domains / Package Names / Bundle Identifiers"
Add your domain, bundle identifier or package names
## Collectors
The analytics collector listens to player events and based on that we send this information to our infrastructure. Based on the platform and player you are using there is a different How to set up guide
[Web](🔗)
[Android](🔗)
[iOS](🔗)
[Roku](🔗)