I think this would require a feature request, unfortunately
We have some analytics integrations as outlined here, so we could explore whether it's possible to create a Microsoft Clarity integration, and we have an internal feature request for supporting embedding <script> elements into Retool apps in general.
You could have a query trigger on page load that saves some information about the app such as app name, date, etc to a database (assuming it isn't a public app, you could save the current_user information on page load to track page views by user)