1. Document Directory

2. SDK Feature List

First-level FeatureSecond-level FeatureSpecific Feature / Description
Identify UsersAutomatically identify anonymous usersAutomatically identify anonymous users using device ID
Support replacing with custom anonymous ID
Identify logged-in usersIdentify logged-in users using login ID
Set User PropertiesTag properties for the current user
Data CollectionAutomatically collect device informationAutomatically collect default device information such as screen size, system information, etc.
Support automatic collection of latitude and longitude information
Full Event TrackingMini program launch
Mini program display
Mini program hide
Mini program page view
Mini program page click
Mini program page exit
Mini program share
Global attributesStatic global attributes
Dynamic global attributes
Clear global attributes
Custom TrackingCustom code tracking
Store dataSet send intervalSet how often to send data in seconds
Report dataAutomatically report dataSDK automatically sends event data when certain conditions are met
Manually report dataSDK supports manual reporting of event data
Debugging functionDebugging logsShow / close debugging logs
Advanced featuresData encryptionData storage and transmission after encryption
Integration between mini-program and H5Pass mini-program user ID to H5
ComplianceSupport compliance requirements
SDK data collection controlControl the SDK's on/off status

3. Basic infrastructure

Because different mini-programs provide different APIs, specific mini-programs need to use specific SDKs. For example, WeChat mini-programs can only use WeChat mini-program SDK.

The basic principle of the mini-program SDK is to automatically listen to relevant events (such as startup, hiding), automatically obtain system attributes (system information, network information), and then send network requests.

With the increasing demand, most of the mini-program requirements are implemented through plugins. Before use, you can refer to the usage method of "Plugin Integration".

4. List of mini-program SDKs supported by Sensors Analytics

Mini-program/mini-gameSDK
WeChat Mini Program

Alipay Mini Program

Baidu Mini Program

ByteDance Mini Program

Taobao Mini Program

JD Mini Program

快应用

Xiaohongshu Mini Program

WeCode Mini Program

QQ Mini Program

Kuaishou Mini Program

Mini Games (ByteDance, WeChat, QQ)

5. Supported Mini Program SDK Features of Sensors Analytics

Mini Program/Mini GameBasic CollectionFull TrackID3SF - Pop-up WindowABTesting
WeChat Mini Program

Alipay Mini Program

Baidu Mini Program

ByteDance Mini Program

Taobao Mini Program

JD Mini Program

Quick App

Xiaohongshu Mini Program

WeCode Mini Program

QQ Mini Program

Kuaishou Mini Program

Mini Games (ByteDance, WeChat, QQ)

6. Mini-program framework support

Mini-program frameworks (such as Taro, uni-app, etc.) are developed using non-mini-program standard languages and are finally compiled into various types of mini-program languages. Since Sensors Analytics supports native mini-program SDK, it fundamentally supports all frameworks because frameworks are ultimately compiled into various types of mini-programs.

Third-party frameworksTaro 2Taro 3uni-app (vue2)uni-app (vue3)MpvueWepy
WeChat Mini Program

Other Mini Program

Note:

  • The above data is based on the questions raised by customers. Because WeChat mini-programs are used more frequently, there is high verification for related data. Other mini-program customers use it less, or some other mini-programs do not currently support full data collection, so the verification is low.
  • Uni-app vue3 setup syntax does not support automatic collection of click events.


7. Mini-program SDK preset events and preset attributes

Refer tothe mini-program SDK preset events and preset attributes documentation.