Skip to content
Back

Google Analytics on self-hosted solution

  • 0
  • Self Hosted
  • Tools
  • General
kathelia.dokgu
13 Jul, 2023, 23:38

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?

TL;DR
The user wants to know if they can set up Google Analytics for their self-hosted instance of Appwrite. The response indicates that it is not currently possible to configure analytics for the console, as the data is meant for internal use and product improvement. The user mentions wanting basic user information like geographical location and page views. No solution is provided in the thread.
Drake
13 Jul, 2023, 23:46

what kind of analytics are you looking for?

kathelia.dokgu
13 Jul, 2023, 23:47

Was hoping to do GA4.

Drake
13 Jul, 2023, 23:47

sorry i meant what kind of analytics information are you expecting to capture?

kathelia.dokgu
13 Jul, 2023, 23:49

Oh mostly just your basic user information like geographical information, use agents, pages being looked at, etc.

Drake
13 Jul, 2023, 23:49

which users?

kathelia.dokgu
13 Jul, 2023, 23:50

Visitors to the console, I’m not referring to the database or the auth or storage etc. — just console as an app in general.

Drake
13 Jul, 2023, 23:50

why are you looking for that info?

kathelia.dokgu
13 Jul, 2023, 23:51

I usually just add one on every app that I host. No reason in particular. I just enjoy analytics and seeing graphs etc.

Drake
13 Jul, 2023, 23:52

the Appwrite Console is used by you, though, to manage/develop your appwrite project...

kathelia.dokgu
13 Jul, 2023, 23:53

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.

Drake
13 Jul, 2023, 23:56

right...anyways, in short, that's not something really configurable especially since the console is static in the docker image

Matej
13 Jul, 2023, 23:57

Not even in self hosted solution?

kathelia.dokgu
13 Jul, 2023, 23:57

And no plans in the future?

Matej
13 Jul, 2023, 23:57

Tjough would be as simple as attaching some analytics scripts in the UI file

kathelia.dokgu
13 Jul, 2023, 23:58

Not sure what it being static on Docker has anything to do with it.

Drake
13 Jul, 2023, 23:58

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

Matej
13 Jul, 2023, 23:59

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

Drake
13 Jul, 2023, 23:59

that's already there. you can look at the activity tab of various resources to see who did what

kathelia.dokgu
13 Jul, 2023, 23:59

Yeah there’s some basic audit logs in there already.

kathelia.dokgu
14 Jul, 2023, 00:00

I’m not really interested in audits, mostly just knowing what technology users are using to access the console etc.

Drake
14 Jul, 2023, 00:00

all single page applications use environment variables at build time only and then the values are baked in the statically built files

kathelia.dokgu
14 Jul, 2023, 00:01

Ah, right lol. Nevermind then.

Drake
14 Jul, 2023, 00:01

for now, you can dig into the database to see that info. the _console_sessions table should have that info

kathelia.dokgu
14 Jul, 2023, 00:02

Okay thanks!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more