Add-on App tracking

I am planning to enroll in marketplace vendor.

I wonder when we upload the add-on add, Can we track the users?
I mean, Is it allowed that we put some tracking codes in our app to check session duration, favorite function and bounce rate etc. ?