Configure Mini Program User Privacy Protection Guidelines

View Markdown

Last edited on 2026-06-30

To further regulate developers' handling of user personal information and protect users' legitimate rights and interests, developers of Mini Program and plugins that process user personal information—whether by calling relevant APIs involving user personal information or by collecting user personal information independently—must provide the corresponding User Privacy Protection Guidelines before submitting a code version. For details, please refer to Instructions on Supplementing User Privacy Protection Guidelines for Mini Program and Plugins.

Non-agency-developed Mini Program can be configured by logging in to the WeChat Official Platform and navigating to Mini Program Management Console - Settings - Feature Settings - User Privacy Protection Guidelines, whereas agency-developed Mini Program can only be configured via APIs.

Note

  1. All three APIs above belong to the " Mini Program Development and Data Analysis" permission set. For third-party developed Mini Program, this permission has already been granted, and the Merchant's Mini Program administrator does not need to re-authorize it.

  2. Third-party developed Mini Program can only be configured via APIs. Configuration through "WeChat Official Accounts Platform - Settings - Feature Settings - User Privacy Protection Guidelines" is not supported.

  3. For other common questions, please refer to the end of the documentation.

1. Effect After Configuration

To help developers understand the parameters of the Configure Mini Program User Privacy Protection Guidelines API and the resulting effects, refer to the mockups below (Third-party developers can also use their own Mini Program to log in to "WeChat Official Accounts Platform - Settings - Feature Settings - User Privacy Protection Guidelines" to view the preview of the configuration effects):

After configuration via the API, the information will be displayed on the Mini Program "More Info" page and the "i" icon in the top-right corner of the authorization popup. Subsequently, the purpose of use for the information filled out in the privacy agreement will also be directly displayed in the corresponding authorization popup.

In addition, users can enter the settings page via the "..." icon in the top-right corner to manage the information. Upon deletion, a message push notification will be sent to the developer.

2. Rule Description

  1. After configuring the settings via the API, the changes will not immediately take effect in the current online version of the Mini Program. You must resubmit the code for review and republish it online for the changes to become effective.

  2. Relevant verification is performed during each code review. If the configured User Privacy Protection Guidelines do not match the user information actually collected by the code, or if the corresponding requirements are not met, the code version will fail the review.

  3. To improve the review pass rate, it is recommended that Service Providers configure Privacy Protection Guidelines for each Mini Program developed on behalf of a client based on actual usage. It is also recommended that the Service Provider handle this configuration (since Merchants are typically not the developers of the Mini Program code and usually do not know which APIs are referenced or which types of user information are being collected).

Frequently Asked Questions

How do I determine which privacy protection guidelines should be configured for the Mini Program?

You can retrieve the privacy_list by calling the Query Mini Program User Privacy Protection Guidelines API. This list contains user information types (privacy_key) detected in the code, and you need to configure privacy guidelines accordingly for these types.

Also, in the setting_list returned by this API, the privacy_text field indicates the configured usage. If privacy_text is empty, it means the configuration has not been set yet.

For example, if privacy_list includes "Album", but the privacy_text corresponding to "privacy_key": "Album" in setting_list is empty, it indicates that the privacy protection guideline for "Album" has not been configured and needs to be set via the Set API.

The Chinese descriptions for privacy_key can also be obtained via this API. For details, please refer to the content returned in privacy_desc.

Note: If code has not been recently submitted via the Commit API, the content returned in privacy_list may be empty.

Does the content of setting_list need to be exactly identical to privacy_list?

No. The content of setting_list only needs to include the items in privacy_list. If an item detected in privacy_list is not configured in setting_list, the review will be rejected.

Do I need to configure privacy protection guidelines via the API for every code review submission?

  • If privacy protection guidelines that have passed review and are currently active exist in the production environment, and subsequent code iterations do not involve collecting new types of user privacy information, no reconfiguration is needed.
  • However, if subsequent version iterations involve collecting new types of user privacy information, you must still call the API to configure the guidelines after submitting the code. Otherwise, the code review will be rejected.

How can I check the review results and the reasons for rejection?

After configuring the guidelines via the Configure Mini Program User Privacy Protection Guidelines API, submit for review using the Submit Code Review API.

After submission, you can query the review status via the Query Latest Submission Review Status API. If the review is rejected, you can view the rejection reason.

Additionally, the code review results will also be pushed to the Service Provider's Third-Party Platform Message and Event URL. For details, see Code Review Result Push.

How should I fill in the contact information for the Information Collector (Developer)?

This should be handled based on the actual business scenario. You may provide the Merchant's contact information or the Service Provider's, but you must ensure that the contact information provided is authentic, valid, and allows a person to be reached for handling related matters.

What is the effect of uploading a custom file?

If a custom file is configured via the API (corresponding parameter is ext_file_media_id), the phrase "For more information on personal data processing rules, please refer to the supplementary file" will appear at the end of the privacy protection guideline page on the Mini Program side. Clicking "Supplementary File" will allow the download of the custom file uploaded by the Service Provider.