I have a shiny app, deployed into 2 different pieces of content as a method of doing an informal deployment pipeline. There is a test version, and the live version.
I am beginning to log user inputs to a database table to better understand how the app is being used. I'd like to gather as much info as possible to narrow down whether or not the app is being tested, or used live. For instance, I am logging the platform so I can tell if it's me testing the app locally ("windows").
I want to know if I'm in the test version or live version, which I can tell by the name, or the url, or the id, or whatever. If it's the test version, then I know it's me or one of the project stakeholders who are the only ones who know how to access it.
**Note - we primarily use RStudio Connect as anonymous users, I can't use the logged in named user as a way to help determine this.