Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client uses segment to trigger life-cycle emails (quota, billing, etc).
func (*Client) FormatUnix ¶
FormatUnix converts seconds to string in same format for all analytics requests
func (*Client) Identify ¶
func (c *Client) Identify(key string, accountType mdb.AccountType, active bool, email string, properties map[string]interface{})
Identify creates or updates the user traits
func (*Client) TrackEvent ¶
func (c *Client) TrackEvent(key string, accountType mdb.AccountType, active bool, event Event, properties map[string]string)
TrackEvent logs a new event
Click to show internal directories.
Click to hide internal directories.