conversion

Send a conversion event to the analytics server.

conversion should be invoked whenever a "conversion" has occurred. The precise definition of "conversion" is left to the implementer but generally speaking corresponds to a completion type event such as a sale or subscription.

Parameters

type

application-specific string reflecting the type of conversion. Examples of appropriate strings might be "sale" or "subscription".

value

application-specific value of the conversion. Typically this will be the sale or subscription price.

date

date of the conversion event.

listener

an optional listener to be notified after the event has been sent.

errorListener

an optional error listener to be notified about errors encountered when event is handled.

See also