Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Rule of thumb: Where you have an option of client-side or server-side event, choose server-side (see above).
  • Tracking Log (and possibly Segment)
    • MFEs: sendTrackingLogEvent
    • Legacy code: Logger.log
    • Important: This should be renamed to Tracker.emit, but that requires a deprecation strategy including telling course teams.
    • Emits to Tracking Log and downstream tools (e.g. Vertica/Tableau, edX Research Package, etc.)
    • Event must be whitelisted to emit to Segment (see above).
  • Segment (and downstream tools)
    • MFEs: sendTrackEvent
    • Legacy code: analytics.track
    • Use this if you want Segment and its downstream tools only.  If you want the Tracking Log or both, use the other call (with or without the whitelist).
    • Emits to Segment and its downstream tools.

...