IntegrationsFinteza SDKAndroid mobileSending events

Sending events

After installing SDK, you can send application user action events to Finteza. To do this, use the event method specifying the string name of the event:

Finteza.event("{EVENT}")

Set the event name in {EVENT}. If you use a prefix with an application name, it is added to all sent events.

Call this function after any necessary event in the application, like moving to a section, pressing a button, filling in the form, etc.

The maximum acceptable length of an event name including a prefix is 128 characters.


Additional data in the event parameters #

In events sent to Finteza, you can specify additional data as parameters, for example, a type of a purchased good, price, currency, etc.

Finteza.event("{EVENT}", id: "{ID}", units: "{UNITS}", value: "{VALUE}")

Set the event name in {EVENT}. The following parameters are specified next:

Parameter

Type

Description

id

string

Random ID. The maximum length is 64 symbols. To avoid using the ID, specify null.

units

string

Parameter measurement units, for example, USD, items, etc. The maximum length is 32 symbols.

value

number

The value of the parameter. The maximum length is 64 symbols.

Example:

Finteza.event("Book Load", id: "CATEGORY_ID", units: "BOOKS", value: "BOOK_ID")
Finteza.event("First Book Open", id: null, units: "Count", value: String(42))

Complex event accounting models for in-app purchases and E-Commerce will be added in the future.


Disabling event tracking #

To temporarily disable event registration inside the application, use the Finteza.setTracking method with the false value.

Finteza.setTracking(false);

After that, all further events registered via the event function (including the ones with the parameters) will be ignored and not sent to Finteza.

To enable event sending again, call the same method with the true value:

Finteza.setTracking(true);

Increase your website revenue using:

Sign up to now and get a 30-day free access.

By registering you agree to the Service Agreement terms
Congratulations! Your account has been created
  • Visit
    finteza.com
  • Create
    account
  • Confirm
    email
  • Install
    code

We have sent an email to {email}. Please find it and activate your account.

After that you simply need to log in and install the tracking code to your site. It is easy: