Versions in this module Expand all Collapse all v1 v1.0.1 Oct 31, 2019 Changes in this version type CustomerIO + HostAPI string + HostBeta string + func (c *CustomerIO) AddCustomersToSegment(segmentID int, customerIDs []string) error + func (c *CustomerIO) AddDevice(customerID string, deviceID string, platform string, ...) error + func (c *CustomerIO) BetaCustomerAttributes(customerID string) (map[string]string, error) + func (c *CustomerIO) CampaignTrigger(campaignID int, data, recipients map[string]interface{}) error + func (c *CustomerIO) DeleteDevice(customerID string, deviceID string) error + func (c *CustomerIO) RemoveCustomersFromSegment(segmentID int, customerIDs []string) error + func (c *CustomerIO) TrackAnonymous(eventName string, data map[string]interface{}) error v1.0.0 Dec 10, 2015 Changes in this version + type CustomerIO struct + Host string + SSL bool + func NewCustomerIO(siteID, apiKey string) *CustomerIO + func (c *CustomerIO) Delete(customerID string) error + func (c *CustomerIO) Identify(customerID string, attributes map[string]interface{}) error + func (c *CustomerIO) Track(customerID string, eventName string, data map[string]interface{}) error + type CustomerIOError struct + func (e *CustomerIOError) Error() string