Bind tags to a mini program

After a tag group is created, you can bind the tag group to mini programs to implement customized functions in the super app.

Prerequisites

Only mini program admins can bind tags to mini programs and edit tags bound to mini programs.

Bind tags to a mini program

To bind tags to a mini program, take the following steps:

  1. Log on to the Mini Program platform as a mini program admin.
  2. In the left navigation pane, click Mini Programs.
  3. On the Manage Mini Programs page that appears, click the name of the mini program to which you want to bind tags.
  4. Click the Information tab.
  5. On the mini program information page that appears, locate the Tags section.
  6. Select a tag name and description from the drop-down list for each tag group.
  7. Click Save.

image.png

Figure 1. Bind tags to a mini program

Edit tags bound to a mini program

To modify tags bound to a mini program, take the following steps:

  1. Log on to the Mini Program platform.
  2. In the left navigation pane, click Mini Programs.
  3. On the Manage Mini Programs page that appears, click the name of the mini program whose tags you want to modify.
  4. Click the Information tab.
  5. On the mini program information page that appears, locate the Tags section and click Edit to modify tags bound to the mini program.
  6. Click Save.

image.png

Figure 2. Edit tags bound to a mini program

Release the mini program

After you bind tags to a mini program, you can release the mini program for the tags to take effect. Tag information is carried by the released version of the mini program.

For more information about how to release a mini program version, see Release mini programs

During the release process, you can view the tag information.

image.png

Figure 3. View tags during the release process

Note: The binding of tags is closely associated with versions of mini programs. Take note of the following issues:

  • The tag status is constantly verified in the release process. If the tags of a mini program version to release are outdated, the release process is blocked and can continue only after the tags are updated.
  • After release, the tag data for mini programs is not automatically updated when a tag group is updated. Therefore, developers are required to complete the updates manually according to the specified requirements and within the designated timeframe.

Consume tags on super apps

After tags are bound to a mini program and the mini program is released, the super app can retrieve the mini program's tag information from the IAPMiniProgram SDK. This allows the super app to consume the mini program's tag information to implement customized functions.

Related topics

Overview

Release mini programs

Update tags of mini programs