PyzeEvents

PyzeEvents object is available globally. Refer to the methods under PyzeEvents documentation to send custom events.

  • postCustomEvent

    postCustomEvent methods can be used for posting Custom Event without Attributes.

    Since

    v1.0.0

    Sample

    
    var eventName = "Custom event name";
    PyzeEvents.postCustomEvent(eventName);

    Parameters

    eventName

    Custom event name.

  • postCustomEventWithAttributes

    postCustomEventWithAttributes methods can be used for posting Custom Event with Attributes.

    Since

    v1.0.0

    Sample

    var eventName = "Custom event name";
    var customAttributes = {};
    PyzeEvents.postCustomEventWithAttributes(eventName, customAttributes);

    Parameters

    eventName

    Custom event name.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • postExplicitActivation

    postExplicitActivation method can be used to trigger activations explicitly with attributes.

    Since

    v1.0.0

    Sample

    
    var customAttributes = {};
    PyzeEvents.postExplicitActivation(customAttributes);

    Parameters

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • postTimedEvent

    postTimedEvent methods can be used for posting timed events with Attributes.

    Since

    v1.0.0

    Sample

    var eventName = "Custom event name";
    var time = Start time of the event;
    var customAttributes = {};
    PyzeEvents.postTimedEvent(eventName, time, customAttributes);

    Parameters

    eventName

    Custom event name.

    time

    Start time of the event obtained from Pyze.getTimerReference

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.