I'm close to opening up access to a web application that I've built, and I wanted to make sure that I can link updates to the app to errors, or other changes in analytics data. My first thought was to put the current git ref in a custom variable that is tracked with every event. But within analytics systems, you don't have access to the git log, so all you have is an opaque ref that you have to cross reference with your application's repository. I could also put tags in the repository with release numbers, but all I have then is a more coarse-grained identifier, that I still have to cross-reference somehow.
So I'd like to ask the advice of people running web applications in production: what has been most useful to you to know what change caused a certain change in user behavior or application performance?