How to setup Bitmovin Analytics on SmartTVs

With the Web Player, Bitmovin Analytics uses the license key and domain in order to track data. On smart TVs, the web page is not loaded from a web server in most cases, but runs from a Native application deployed on the TV itself, therefore an origin identifier should be specified in the Bitmovin Analytics configuration, similarly to what should be done done on the player configuration side (conf.tweaks.app_id).

Example :

var conf = {
	key : "<YOUR_PLAYER_KEY>",
	playback : {
		autoplay : true
	},
	tweaks : {
		file_protocol : true,
		app_id : "YOUR_APP_ID"
	},
  analytics: {
    origin: "YOUR_APP_ID"
  }
};

The rest of the steps to accomplish to configure Bitmovin Analytics is described in our Getting Started tutorial.