Can opentelemetry.js be added to an ionic/capacitor project?

Looking for a solution to track analytics of our mobile app such as app flow, screens viewed, buttons pressed etc.

Does anyone know if its possible to add something like this to a project ? OpenTelemetry

I also looked at firebase analytics but my company isn’t keen on google collecting our analytic data.