I cant track App Insights Events

Mario Lada Martinez 20 Reputation points

Im currently working on a plugin for azure media player to track events like when a user starts to play a video and some stuff like that. But first of all, my events arent being tracked. I reduced the problem to the minimun and i put this in a javascript file : window.appInsights.trackEvent("test",{ name: "TEST" });

this code is being executed, and the variable window.appInsights is correct too,i mean, its not undefined, but i dont see this event in the custom events section of app insights in azure (in the logs, of course). Im pretty lost, hope u can help. thx in advance!

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
302 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,281 Reputation points

    Mario Lada Martinez Thanks for reaching here! Check out the supported options. By default, the only custom event that will send with the plugin will be the playback summary.

    Refer to this detailed article might be helpful: Media Services: Application Insights Plugin for Azure Media Player with Power BI dashboards

    0 comments No comments