Segment.Tracker (Peacemaker v3.3.5-rc.7) View Source

This module is used for sending Google Analytic Events to Segment

Accepts one of the given Segment.Spec tokens

    token = Segment.Spec.Order.build()
    ...

    Segment.Tracker.send_event(token)

For a list of available specs, checkout the files in lib/segment/spec/

Link to this section Summary

Link to this section Functions

Sends the event to Segment

Link to this function

send_event(token, context)

View Source