If that’s all your code, the your issue is that you’re not handling the onAuthorized event fired by the helper, which MUST be handled or Twitch assumes your extension failed to load.
Also, if sending tracking data is all your extension does, Twitch may consider that failure to load as it’s not actually doing anything for the user. at a bare minimum you should have some sort of opt-in functionality so that you’re not tracking users without their consent. Because of the nature of your extension I hope you also have an appropriate privacy agreement and meet all required privacy laws.