Z.Stats

Inherits from Z.Base

The Z.Stats object provides functions for reporting salient events to the Zapalytics data dashboard.

A globally accessible instance of this object is available at Z.stats.

Note - analytics are not collected from preview zapcodes.

Example

Z.stats.logEvent("Button tapped");

Provided by Z.Stats

Functions

logEvent(...) Reports the string to the Zapalytics data dashboard.

Inherited from Z.Base

Functions

emit(...) Calls the handler functions attached to an event.
hasTag(...) Returns true if this object has the specified tag.
off(...) Removes a handler function from an event.
on(...) Attaches a handler function to an event.
one(...) Attaches a single-use handler function to an event.
pushTag(...) Adds a tag to this object.
removeTag(...) Removes a tag from this object.
tags( ) Gets an array of the tags that this object belongs to.
tags(...) Sets the array of the tags that this object belongs to.
zapcode branded_zapcode i