Closed mrpaulmason closed 6 years ago
Just putting a note to myself here that because we don't have any process for sharing events, I am going to create an endpoint
'/meetings/[SHARE_CODE]/share'
that (for now) simply records the time the the endpoint is called. The full functionality can be added behind this endpoint as it is fleshed out
Two options for logging the meeting viewing. 1) Something like a view pixel that is loaded on page view which hits an endpoint '/meetings/[SHARE_CODE]/view' 2) Processing the logs from for the view events and recording them in the db
To match the implementation, for the other new end points, will use PLAN_CODE for these endpoints. So there are two endpoints to implement
/meetings/[PLAN_CODE]/share /meetings/[PLAN_CODE]/view
Two new tables will be populated when requests hit these endpoints.
1) meeting_shares 2) meeting_views
The meeting creation event is already saved to the database using the _createdat field
Implemented both endpoints in commit #178
log the user and timestamp of following meeting events for data science purposes