Mini Program SDK changelog
Get the SDK
Get the SDK from the Data Collection module in the QuickTracking management console.

2.4.19 (2026-06-30)
Optimized the project structure.
2.4.18 (2026-06-23)
Added support for time events.
2.4.17 (2026-06-15)
Optimized the project prototype chain.
2.4.16 (2025-11-11)
Added support for boolean and date data types for event properties.
2.4.12 (2025-09-24)
Fixed an issue where automatic click and automatic exposure events failed to trigger when
_hold=BLOCKwas set.
2.4.9 (2025-07-02)
Fixed an issue that caused duplicate exposure events.
Optimized the number of calls to the synchronous JavaScript API.
2.4.8 (2025-04-22)
Added protection for cache API calls.
Improved log output.
2.4.7 (2025-03-31)
Fixed an issue where share parameters were incorrect when the share function was asynchronous.
2.4.6 (2025-02-24)
Optimized the sampling rate acquisition mechanism.
Added a polling mechanism for batch data uploads.
Fixed an issue where data in the failed queue was not saved correctly after exiting the Mini Program.
2.4.4 (2024-12-16)
Optimized internal regular expressions.
Added sampling rate control for automatic click events.
2.4.2 (2024-10-30)
Fixed an issue with the automatic collection of click events in Mini Programs.
2.3.6 (2024-10-14)
Added support for automatic collection of click events. Enable this feature by setting autotrackMethodEnable=true.
2.3.5 (2024-09-24)
Added support for AMD build artifacts.
2.3.4 (2024-08-30)
Improved the parsing logic for share and channel parameters in Mini Program QR code scenarios.
2.3.3 (2024-08-14)
Fixed an issue where exposure logic failed to execute for elements on subsequent pages after all elements on the current page were exposed.
2.3.2 (2024-07-22)
Optimized the processing logic for automatic exposure in Mini Programs.
2.3.0 (2024-06-27)
Optimized the processing logic for automatic exposure in Mini Programs.
2.2.4 (2024-04-28)
Fixed an issue with controlling automatic PV event submission via remote configuration.
2.2.3 (2024-04-22)
Fixed an "obj.hasOwnProperty is not a function" error.
2.2.2 (2024-03-20)
Added programmatic control to enable or disable the SDK.
2.2.1 (2024-03-14)
Fixed an internal logic issue related to PV events.
2.2.0 (2024-03-07)
Added support for viral sharing features.
Optimized function and parameter naming conventions.
2.1.3 (2023-09-08)
Added platform identifiers for Xiaohongshu and JD.com Mini Programs.
2.1.0 (2023-09-02)
Added tracking support for Xiaohongshu Mini Programs.
2.0.17 (2023-07-04)
Optimized the condition evaluation logic for automatic exposure of elements.
Added support for ESM format in the Mini Program SDK build artifact.
2.0.15 (2023-06-27)
Fixed an issue where the _hold=BLOCK state was not released during automatic OpenID acquisition.
2.0.14 (2023-06-06)
Fixed an occasional error in generating random UUIDs when triggering events.
2.0.12 (2023-05-18)
Fixed an issue where query information was blocked when sharing to Moments via onShareTimeline.
2.0.9 (2023-04-25)
Added support for Promise return types for onShareAppMessage requests.
Added a switch to enable or disable preset events in Mini Programs.
2.0.8 (2023-04-03)
Fixed an issue where the
BLOCKlog-blocking mechanism was not working.Fixed an issue where calls to
updatePagePropertieswould fail ifpageConfigwas not set, and corrected a path mapping problem when no default path was configured.Fixed an issue where the page leave event was not reported on page exit during the initial launch.
Fixed an issue where logs were not reported when both _anony_id was set and autoGetOpenid=true was enabled.
Fixed an issue where an invalid
max-queue-countvalue could disrupt data transmission.Added support for configuring domain paths.
2.0.7 (2023-04-03)
Added the updatePageProperties API to set page properties, which affects only automatic PV events and allows for dynamic changes to the page code.
Introduced a token bucket to limit the request rate. It defaults to one channel, and you can configure up to five channels with the
aplus-mini-requests-limitsetting.Added a default 3-second request timeout.
Added aggregation for failed requests in the failed queue.
Fixed an issue with handling non-string UTM parameters.
1.11.3 (2023-04-12)
Fixed an issue where setting _anony_id, _dev_id, or _user_id to null caused them to be read from the cache as the string 'null'.
1.10.6 (2023-03-31)
Fixed an issue where an empty object returned from remote configuration would overwrite the local default configuration.
1.10.3 (2023-03-10)
Fixed a mapping issue with pageTitle in pageConfig.
Fixed an incorrect default page code mapping for the application start event and corrected its behavior for delayed relaunches.
1.9.62 (2023-02-15)
Removed the caching logic for Mini Program channel parameters.
Added caching logic for user account IDs.
1.9.61 (2023-02-10)
Fixed an issue with channel parameter updates during a warm start.
1.9.60 (2023-01-11)
Added caching logic for
_anony_idand_dev_id.
1.9.55 (2022-12-28)
Added collection for the ref_page_name parameter.
Correctly set
track_typeto 1 for preset events.
1.9.51 (2022-11-22)
Added persistence for UTM parameters.
1.9.46 (2022-11-02)
Fixed an issue with parsing the query parameter when it was not an object during page sharing.
1.9.43 (2022-10-12)
Added support for custom request timeout durations.
1.9.40 (2022-09-08)
Fixed an issue where data was not sent due to a failure to automatically acquire the OpenID.
1.9.36 (2022-08-19)
Adapted the SDK for use with WeChat Mini Program plugins.
1.9.34 (2022-07-04)
Fixed an issue where channel parameters were being overwritten by global properties.
1.9.26 (2022-06-17)
Fixed an issue where log reporting was not disabled when anony_id was empty.
1.9.25 (2022-06-08)
Added an interface to ignore automatic PV events.
Added callback functions for automatic click and exposure events.
1.9.24 (2022-06-02)
Added the ability to automatically acquire the OpenID (WeChat only).
1.9.23 (2022-06-01)
Resolved inconsistencies between the Alipay and WeChat storage APIs.
1.9.21 (2022-05-24)
Fixed an issue where automatic clicks on a navigator component would incorrectly identify the page code as belonging to the next page.
1.9.20 (2022-05-14)
Fixed an issue where logs were interrupted during tracking validation due to system events such as incoming calls or accessing the photo album.
1.9.16 (2022-04-26)
Ensured the event type ID is reported only for codeless tracking events.
1.9.14 (2022-04-19)
Added the
page_titleevent property to set a custom page title. In WeChat Mini Programs, it defaults to thenavigationBarTitle.
1.9.12 (2022-04-18)
Improved log messages for cases where the event
logkeyis an empty string or null.
1.9.10 (2022-04-12)
Refactored the log output for domain validation.
1.9.9 (2022-04-08)
Added support for configuring data collection domains with HTTPS.
1.9.8 (2022-04-01)
Refactored Chinese log messages into English.
1.9.2 (2022-03-12)
Added
startIdlogic.Added a version marker to the build artifact banner.
1.9.1 (2022-03-08)
Added support for sending GET and POST logs over HTTPS in DingTalk.
1.9.0 (2022-03-04)
Introduced codeless tracking capabilities.
1.8.9 (2022-03-04)
Fixed an issue where the DEBUG switch was not working.
1.8.7 (2022-03-01)
Fixed an issue where custom parameters for codeless tracking were not being reported.