PyzeCommerceRevenue

PyzeCommerceRevenue : PyzeCuratedEvents

PyzeCommerceRevenue methods can be used to post details of the events related to Revenue.

Since

v1.0.0

PyzeCommerceRevenue Methods

  • Post revenue details.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["revenue"] = revenueValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("RevenuePost", attributes, customAttributes);

    Parameters

    revenue

    Revenue value.

    customAttributes

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

  • Post revenue details

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["revenue"] = revenueValue;
    attributes["paymentInstrument"] = paymentInstrumentValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("RevenueWithPaymentInstrument", attributes, customAttributes);

    Parameters

    revenue

    Revenue value.

    paymentInstrument

    Payment instrument used.(Eg: ApplePay, SamsungPay, GooglePay etc.)

    customAttributes

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