1. Plugin Usage

Currently, the Web/Mini Program architecture is gradually evolving into a plugin-based architecture. The concept of "everything is a plugin" will become more prominent.

Before using the plugin, please refer to Plugin Usage

2. Existing Plugin List and Usage


Plugin DirectoryPlugin DescriptionUsage InstructionsSDK Version Requirements
1abtesting-sdk-miniprogram

A/B Testing - A/B Test

Documentationv1.18.1
2sf-sdk-miniprogramPopup - Pop-up WindowDocumentationv1.18.1
3register-properties

New Event Properties

Documentationv1.18.1
4ad-channelSAT - Support for Tencent Advertising Channel Data ImportDocumentationv1.18.1
5ad-channel-h5-linkerSAT - Linking WeChat Mini Program with H5 and Channel IntegrationDocumentationv1.18.1
6encryptionEncryption of Buried Point DataDocumentationv1.18.1
7get-locationAdd latitude and longitude public propertiesDocumentationv1.18.1
8

h5-linker

WeChat Mini Program and H5 user associationDocumentationv1.18.1
9session-event12h/30m session segmentationDocumentationv1.18.1
10set-referrer-pathAdd referrer_path propertyDocumentationv1.18.1
11general-encryptionAsymmetric Encryption Reporting DataUser Manualv1.18.2


Note:

  • The version of the plugin must be consistent with the SDK. If one side is upgraded, both sides need to be updated at the same time. Remember, do not update only one side.
    • After version v1.18.1, using the /dist/wechat/ directory can achieve simultaneous updates. Because the SDK and the plugin are both in this directory, as long as the references point here, they can be updated simultaneously.
  • The SDK version requirement here is the minimum SDK version required when the plugin has the latest functionality.
  • The plugin does not have its own version number. If the plugin is modified, the overall version will increase.
  • If github cannot be accessed, you can also download npm and check it in the local directory /dist/wechat/plugin