Using CustomVar1 in Kaltura analytics

Hello. This is regarding kaltura player analytics using the new Playkit and Kava SDKs.

Background

According to documentation of Playkit and Kava configuration - https://github.com/kaltura/playkit-js-kava/blob/master/docs/configuration-api.md - CustomVars (CustomVar1, CustomVar2 etc.) are objects. However, the analytics API - https://www.kaltura.com/api_v3/testmeDoc/actions/report.getTable.html - seems to take a value (a simple string). We would like to pass a code to CustomVar1 and filter the analytics using this. Could somebody please let me know what is the right way to configure CustomVar1 in Kava?

I tried the following but not useful

customVar1: {
   code: "test_code"
}

Best,
Phani

Hi Phani, you may use simple strings as well - we will update the document to reflect this.