I don't think I saw one on the .env file but is it possible to set up Google Analytics for my self-hosted instance of Appwrite?
what kind of analytics are you looking for?
Was hoping to do GA4.
sorry i meant what kind of analytics information are you expecting to capture?
Oh mostly just your basic user information like geographical information, use agents, pages being looked at, etc.
which users?
Visitors to the console, I’m not referring to the database or the auth or storage etc. — just console as an app in general.
why are you looking for that info?
I usually just add one on every app that I host. No reason in particular. I just enjoy analytics and seeing graphs etc.
the Appwrite Console is used by you, though, to manage/develop your appwrite project...
Well if you have an org and a team that works together, then it won’t just be me. I’m not looking to add analytics to the projects I’m working on, I’m looking to add analytics on the console.
right...anyways, in short, that's not something really configurable especially since the console is static in the docker image
Not even in self hosted solution?
And no plans in the future?
Tjough would be as simple as attaching some analytics scripts in the UI file
Not sure what it being static on Docker has anything to do with it.
i don't think so since that data is supposed to be for us to see how people are using the product so that we can change the product accordingly
Then some kind of internal Audit Log would be good for the project/Team/Organization. So you can see who did what and when in the console - from the users that manage the project
that's already there. you can look at the activity tab of various resources to see who did what
Yeah there’s some basic audit logs in there already.
I’m not really interested in audits, mostly just knowing what technology users are using to access the console etc.
all single page applications use environment variables at build time only and then the values are baked in the statically built files
Ah, right lol. Nevermind then.
for now, you can dig into the database to see that info. the _console_sessions table should have that info
Okay thanks!
Recommended threads
- MCP server not able to do list documents...
I recommend the MCP server be updated. I know there are a lot of changes to the API but SOTA models have hard time doing a simple list documents with a simple q...
- We are seeking an N8n expert to automate...
We are seeking an N8n expert to automate workflows through AI integration. We are looking to assign this task to someone who has passed a rigorous screening pro...
- Why TablesDB ListRows function does not ...
When I try to list the rows with queries, there is no column data included in the returned value with forced me to fetch the items one-by-one with ID (which was...