Plugin Usage
Currently, Web/Mini Program gradually evolves into a plugin-based architecture. The concept of "everything is a plugin" is becoming more and more prominent.
Before using the plugin, please refer to the Plugin Usage for details.
Existing Plugin List and Usage
Plugin Directory | Plugin Description | Instructions | SDK Version Requirement | Built-in | |
---|---|---|---|---|---|
1 | abtesting-sdk-miniprogram | A/B Testing - A/B Testing | Documentation | v1.18.1 | External |
2 | sf-sdk-miniprogram | Popup - Popup | Documentation | v1.18.1 | External |
3 | register-properties | Add Event Properties | Documentation | v1.18.1 | External |
4 | ad-channel | SAT - Support Tencent Ad Channel Data Import | Documentation | v1.18.1 | External |
5 | ad-channel-h5-linker | SAT - Connect WeChat Mini Program and H5 Users and Channels | Documentation | v1.18.1 | External |
6 | Encryption | Tracking Data Encryption | Documentation | v1.18.1 | External |
7 | get-location | Add Latitude and Longitude as Public Properties | Documentation | v1.18.1 | External |
8 | h5-linker | Association between WeChat Mini Programs and H5 Users | Documentation | v1.18.1 | External |
9 | session-event | 12h/30m session segmentation | Documentation | v1.18.1 | External |
10 | set-referrer-path | Add referrer_path property | Documentation | v1.18.1 | External |
11 | general-encryption | Asymmetric encryption for data reporting | Documentation | v1.18.2 | External |
12 | exposure | Element exposure event collection | Documentation | v1.18.6 | External |
13 | sm-encryption | Report Data with SM Encryption | Documentation | v.1.19.11 | External |
Note:
- Both the SDK and the plugin must be updated if either one is upgraded. Remember, do not update only one side.
- Since version v1.18.1, using the /dist/wechat/ directory will allow for simultaneous updates. This is because both the SDK and the plugin are in this directory, as long as the references point here, they can be updated at the same time.
- The SDK version requirement here refers to the minimum SDK version required when the plugin has the latest functionality.
- The plugin does not have its own version number, the overall version will increase if the plugin is modified.
- If github cannot be accessed, you can also download from npm and check in the local directory /dist/wechat/plugin
- If it is a built-in plugin, the SDK already includes it (for reference by the plugin). Do not integrate it manually.