reactioncommerce / reaction

Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
https://mailchimp.com/developer/open-commerce/
GNU General Public License v3.0
12.33k stars 2.17k forks source link

Instrument system for Analytics #3987

Closed brent-hoover closed 5 years ago

brent-hoover commented 6 years ago

In the last release or so we removed the Analytics package but we still have a need to integrate with third-party analytics and predictive marketing engines.

This is intended to be the epic for spelling out how the implementation should work which would span child tickets to do the actual work.

We need one central point, or one point for server and one for client of capturing all events and their data/context and funneling them to any number of analytics provider. There should also be a "plugin" system similar to how we do shipping/payment, etc. where one could implement an integration with any sort of Analytics provider or to any sort of internal data store or both.

Two initial implementations should be Segment and GA.

This system should capture and report on all:

  1. Clicks in the system (e.g. click on an image: record the user, product and image they clicked on)
  2. Transaction events (order created, etc)
brent-hoover commented 5 years ago

Wont' fix. Analytics now handled via Segment in the starter kit