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

Documentation for ActiveCampaign.Tracking.Site.

Link to this section Summary

Functions

Add domain to whitelist

Retrieve status

Retrieve site tracking code

List all whitelisted domains

Remove domain from whitelist

Enable/disable

Link to this section Functions

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

Add domain to whitelist

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

Retrieve status

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

Retrieve site tracking code

Link to this function

list(query_params \\ %{})

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

List all whitelisted domains

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

Remove domain from whitelist

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

Enable/disable