What is Custom event statistics
Custom events are the highest degree of flexibility in determining the execution of arbitrary events.
Description of Cloud notes used
Want to know the following information
(1) How many people clicked on a new note
(2) How many people clicked save and delete
Then, by adding event statistics to the Bindtap event in the Save button, the message is sent once per click
Backstage by recording the number of messages, you know how many people clicked.
For example, we take a new notebook to an event ID called Addnote.
Add statistics to the Bindtap event that added notes
* Added Note event * * /onnewitem:function (event) { hotapp.onevent (' addnote ')//New Note Statistics Event Wx.navigateto ({ URL: ".. /create/index " }) },
Add statistics to the Bindtap event to delete notes
* Delete Note Event */ ondeleteitem:function (event) { hotapp.onevent (' deletenote'// Add notes to the statistics event },
Add statistics to the Bindtap event that saves notes
* Save Note Events */ onsaveitem:function (event) { hotapp.onevent ( 'savenote'// Add notes to the statistics event },
Note: The statistics event ID needs to be added in the background first
Official website:https://weixin.hotapp.cn/document
Hotapp Custom Event statistics for small program statistics