Commit Graph

7 Commits

Author SHA1 Message Date
Robert Raposa
7a7c7c5e3f prepare analytics for move to separate repo (take 2)
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.
- Note: fixes some loading/import issues from 'take 1'

ARCH-517
2019-04-09 12:47:12 -04:00
Robert Raposa
e1a55ea8e2 Revert "prepare analytics for move to separate repo"
This reverts commit 846cea82dd.
2019-04-09 10:40:21 -04:00
Robert Raposa
846cea82dd prepare analytics for move to separate repo
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.

ARCH-517
2019-04-09 08:29:06 -04:00
Douglas Hall
b3d43f3f91 Move LoggingService to npm package 2019-04-08 16:04:48 -04:00
Robert Raposa
61d7b4b278 Fix analytics events to be x-www-form-urlencoded.
The LMS /event api expects the request to use a content type of
application/x-www-form-urlencoded.

ARCH-390
2019-03-11 18:11:55 -04:00
Robert Raposa
dc6366a015 JSON.stringify event data.
ARCH-492
2019-03-06 16:58:28 -05:00
Robert Raposa
f9f1c723cd Add Logging Service and event fixes.
- Original NewRelicService lifted from edx-portal.
- Fixed bug with snake case of event data.
- Added error handling for logEvent.
- Added tests for logEvent.

ARCH-430
2019-03-05 12:59:41 -05:00