Lura Analytics
As of 2023, Samsung states that Tizen TV's are not optimized for .NET applications. Samsung strongly recommends using JS/Web applications instead of C#/.NET applications for TVs. Please check the Lura Player Web SDK
Lura .NET SDK provides built-in Lura Analytics functionality for Tizen TV applications. Lura Analytics automatically tracks and collects comprehensive playback metrics, viewer behavior, and performance data, enabling you to gain insights into how users interact with your video content.
Quick Start
To enable Lura Analytics, simply set the analytics configuration in your player configuration:
var config = new Configuration
{
Analytics = new AnalyticsConfiguration
{
Enabled = true
}
};
player.SetConfig(config);
What Gets Tracked
When analytics is enabled, Lura automatically collects the following data:
- Playback Metrics: Play attempts, play count, play time, buffering statistics
- Performance Data: Bitrate information, buffering duration, seeking behavior
- Ad Analytics: Ad impressions, ad quartiles, ad buffering, ad completion rates
- Device Information: Device type, OS, browser details
- Network Data: Connection type, bandwidth estimates, CDN information
- Content Data: Content ID, type, duration
- Error Tracking: Error occurrences and counts
Configuration Options
Basic Configuration
Enable analytics with default settings:
Analytics = new AnalyticsConfiguration
{
Enabled = true
}
Custom Session Data
Add custom session metadata:
Analytics = new AnalyticsConfiguration
{
Enabled = true,
Session = new AnalyticsSessionConfiguration
{
UserId = "user-123",
Data = "custom-data"
}
}
App Information
Set application information:
Analytics = new AnalyticsConfiguration
{
Enabled = true,
App = new AnalyticsAppConfiguration
{
Id = "app-id",
Name = "My App",
Version = "1.0.0"
}
}