Peacemaker.Analytics (Peacemaker v3.3.5-rc.7) View Source
This module composes functions from the Segment implementation to shorthand some common events we want to record, like when an order is purchased or refunded.
From an overview, the module hierachy looks like:
[Peacemaker.Analytics]
|[Segment.Spec.Order]
|
[Segment.Spec.Product]
/
/
/
|[Segment.Tracker]
Link to this section Summary
Link to this section Types
Specs
Link to this section Functions
Specs
record_purchase(limelight_postback_request()) :: atom()
Sends an purchase event to Segment
Specs
record_refund(limelight_postback_request()) :: atom()
Sends an refund event to Segment
Link to this function