Skip to content

Use Analytics Adapter to populate Analytics Tab #1331

Open
@mrmarcsmith

Description

@mrmarcsmith

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.

  1. Parse-Dashboard calls GET (not POST) on "/parse/events/AppOpened" on Parse Server (requires master key).

  2. Parse Server then calls the new optional functions "getEvent(){}" or "getAppOpened(){}" on the Analytics Adapter passing the params from the request.

  3. 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).

  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions