This code is taken from github . I have created API and declared in the below code
"https://github.com/sol-eng/connect-usage/blob/master/rsc-usage.Rmd".
I run the code and it is working perfectly.
Basically the requirement is actually, it should track all user activity. But the issue, The application is only tracking the apps that I have deployed in RStudio connect server and if I access other applications deployed by others, i am unable to track it. Any specific reason.? Wanted to check if we can see the track of all applications.
Let me know if I have to paste the entire code below
```{r preflight_check, results='asis', include=TRUE}
if (
nchar(Sys.getenv("RSTUDIO_CONNECT_SERVER")) == 0 ||
nchar(Sys.getenv("RSTUDIO_CONNECT_API_KEY")) == 0
) {
print(htmltools::h4("ERROR: Variables Not Defined"))
print(htmltools::div(