May 19, 2021 WeChat Mini Program Development Document
Custom analysis data escalation interface. Before you can use it, you need to create a new event in the background custom analysis of the small program management and configure the event name and field.
The name of the event
The custom data that is escalated, key is the field name in the configuration, and value is the reported data.
wx.reportAnalytics('purchase', {
price: 120,
color: 'red'
})