
DescriptionMethod
Note: This is the only tracking call that increments page views.
Syntax:
static void trackState(QString state, QHash<QString, QString> contextData
= QHash<QString, QString>());
Example:
ADBMobile::trackState("loginScreen", null);
Tracks an action in your app. Actions are the things that happen in your app that you want
to measure, such as "logons", "banner taps", "feed subscriptions", and other metrics.
trackAction
Syntax:
static void trackAction(QString action, QHash<QString, QString> contextData
= QHash<QString, QString>());
Example:
ADBMobile::trackAction("heroBannerTouched", null);
Sends the current x y coordinates. Replace event with the event that is received from the
subscriber to BPS.
trackLocation
Syntax:
static void trackLocation(bps_event_t *geoEvent, QHash<QString, QString>
contextData = QHash<QString, QString>());
Example:
ADBMobile::trackLocation(event, null);
ADBMobileConfig.json Config File Reference
The ADBMobileConfig.json must be placed in the assets folder.
DescriptionVariable
(Required) One or more report suites to receive Analytics data. Multiple report suite IDs
should be comma-separated with no space between.
"rsids" : "rsid"
"rsids" : "rsid1,rsid2"
rsids
(Required). Analytics server.
server
This variable should be populated with the server domain, without an "http://" or https://"
protocol prefix.The protocol prefix is handled automatically by the library based on the ssl
variable.
If ssl is true, a secure connection is made to this server. If ssl is false, a non-secure
connection is made to this server.
8Adobe Mobile Class and Method Reference
Comentarios a estos manuales