Custom Attributes

Custom Attributes can be sent along with PyzeEvents and PyzeCurated Events.

  • CustomAttributes

    customAttributes is a javascript object (Key - Value pair) that can be used to send attributes of your choice. They can be sent with any Pyze Event Method that accepts a custom attribute

    Since

    v1.0.0

    Sample

    var customAttributes = {};
    customAttributes["key1"] = value1;
    customAttributes["key2"] = value2;
    PyzeEvents.postCustomEventWithAttributes(eventName, customAttributes);

    or

    var customAttributes = {};
    myCustomAttributes["key1"] = value1;
    myCustomAttributes["key2"] = value2;
    PyzeCuratedEvents.post("AdRequested", attributes, myCustomAttributes);