View Source ActiveCampaign.Tracking.Event (active_campaign v0.2.3)

Documentation for ActiveCampaign.Tracking.Event.

Link to this section Summary

Functions

Create a new event (name only)

Delete event (name only)

Get Contact By Event ID

Get Contact's Tracking Logs/Events

Retrieve Event Tracking Status

List all events (names only)

Enable/disable

Link to this section Functions

@spec create(String.t()) :: {:ok, map()} | {:error, any()}

Create a new event (name only)

@spec delete(String.t()) :: {:ok, map()} | {:error, any()}

Delete event (name only)

Spaces in the name should be left as spaces, they will automatically be encoded.

Link to this function

get_contact_by_event_id(event_id)

View Source
@spec get_contact_by_event_id(integer()) :: {:ok, map()} | {:error, any()}

Get Contact By Event ID

Link to this function

get_contact_tracking(contact_id)

View Source
@spec get_contact_tracking(integer()) :: {:ok, map()} | {:error, any()}

Get Contact's Tracking Logs/Events

@spec get_status() :: {:ok, map()} | {:error, any()}

Retrieve Event Tracking Status

Link to this function

list(query_params \\ %{})

View Source
@spec list(map()) :: {:ok, map()} | {:error, any()}

List all events (names only)

@spec set_enabled(boolean()) :: {:ok, map()} | {:error, any()}

Enable/disable