The list of available methods for this plugin is described below. The tag for calls to the plugin is "window.Analytics.". A normal call would look like:
window.Analytics.forceCrashlytics(function(data){},function(error){})
Logs events that provide insight on what is happening in your app, such as user actions, system events, or errors.
parameter | type | description |
---|---|---|
name |
String |
Event Name |
params |
JSONObject |
Parameters that can be registered for reporting in your Analytics reports. They can also be used as filters in audience definitions that can be applied to every report. |
parameter | type | description |
---|---|---|
name |
String |
Screen name |
Allows you to store a user ID for the individual using your app.
parameter | type | description |
---|---|---|
id |
String |
user ID |
Set user properties which are attributes you define to describe segments of your user base, such as language preference or geographic location.
parameter | type | description |
---|---|---|
name |
String |
Property name |
value |
String |
Value to be attributed to the property |
Enable or temporarily disable Analytics Collection
parameter | type | description |
---|---|---|
enabled |
Bool |
If Analytics Collection is going to be enabled |
Log non-fatal exceptions.
parameter | type | description |
---|---|---|
message |
String |
Exception Message |
Force a crash in your app
Assign each user a unique identifier in the form of an ID number, token, or hashed value for more information click here
parameter | type | description |
---|---|---|
userId |
String |
User identifier |
Initialize a new Tracing
parameter | type | description |
---|---|---|
name |
String |
Trace name |
Increment local metric of a given Trace
parameter | type | description |
---|---|---|
name |
String |
Trace name |
counterNamed |
String |
Metric name |
Stop a Tracing
parameter | type | description |
---|---|---|
name |
String |
Trace name |
Add a metric to a Trace
parameter | type | description |
---|---|---|
name |
String |
Trace name |
attribute |
String |
Metric name |
value |
String |
Value for the metric |
Enable or temporarily disable Performance Collection
parameter | type | description |
---|---|---|
enabled |
Bool |
If Performance Collection is going to be enabled |