-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Use Analytics Adapter to populate Analytics Tab #1331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@douglasmuraoka @davimacedo @alencarlucas are any of you guys interested in teaming up for this? I’ve got the Parse Server side if you can help with dashboard. |
I'm new to this project but I can try and help, is A-C ready for me to work with? |
Hi @zanderisrael nope! There was no point without someone to help with D. Dashboard. |
Ok, so keep me posted, im ready :) |
@mrmarcsmith Does anybody have an updated link to the conversation? Or, does anybody have a copy or can recount the thread? Couldn't find anything cached in wayback. |
I have already read #1031 and this conversations on the community forum. This proposed solution is a simple and universal way to make the Analytics Tab usable with parse dashboard while keeping in step with the direction of the Parse Community.
For this example I will use reading the "AppOpened" Analytics event.
Parse-Dashboard calls GET (not POST) on "/parse/events/AppOpened" on Parse Server (requires master key).
Parse Server then calls the new optional functions "getEvent(){}" or "getAppOpened(){}" on the Analytics Adapter passing the params from the request.
The Analytics Adapter then queries its "raw data source" source using the params from the request (Google Analytics or Mixpanel or even a Mongo instance).
The Analytics Adapter translates the "raw source" data into a universal response object used by Parse Dashboard to display pretty graphs.
This is going to require modifications to
A. Parse REST Docs (adding the "GET")
B. Parse Server
C. Any desired Analytics Adapter
D. Parse Dashboard
I'm able to do A, B, and C but I would struggle in the react native for the parse dashboard. is there anyone willing to help me with the modifications required for parse dashboard? From what I saw most of it is already written from the old Parse days and we just need to uncomment it and work to inject data into it.
The text was updated successfully, but these errors were encountered: