Manage tags and tag groups
The customized tag feature enables tenants to conduct differentiated operations based on user attributes, such as user types.
Tenants can independently define tag groups and configure selectable values and descriptions for the tags. For more information about the customized tag feature, see Overview.
This guide explains how to manage tags and tag groups as a tenant.
Note: Tag changes on the tenant side affect mini programs. Therefore, when the tenant performs tag operations such as creating, editing, and deleting tags, make sure that mini program developers are promptly notified so that the tags bound to the mini programs are updated in a timely manner.
Prerequisites
Only tenant workspace admins can manage tags in the workspace, such as creating, modifying, and deleting tags and tag groups.
Create tag groups
On the Mini Program platform, tags are organized in tag groups.
A tag group is a collection of related tags based on specific attributes or characteristics. Each tag group can contain up to 8 tags. You can create up to 6 tag groups in a tenant workspace.
To create a tag group, take the following steps:
- Log on to the Mini Program platform.
- In the left navigation panel, click Mini Programs.
- On the Manage Mini Programs page that appears, click Tag Management.

Figure 1. Tag Management
- On the Tag Groups page that appears, click Create Tag Group.
- In the Create Tag Group panel, configure the parameters and click Create.

Figure 2. Create Tag Group
- Group Name: Enter a name for the tag group.
- Required: Specify whether the tag group is required. No is selected by default.
- Tags: Configure tags in the tag group. You can click Add to add more tags.
- Name: Specify the name of the tag. Names of tags are consumed by super apps after the mini programs are released.
- Description: Enter the description of the tag.
Note: If Required is set to Yes, the following issues arise after the tag group is created successfully. These issues may negatively affect user experience:
- Mini programs in the release process are blocked. You must upload a new version of the mini program and bind the required tags before proceeding with the release.
- Released mini programs are affected. New versions of the released mini programs must be released.
After the tenant creates a tag group, developers can then bind the tag group to mini programs. For more information about how to bind tag groups, see Bind tags to a mini program.
View tag groups and tags
After you create tag groups, you can view the tag groups and the tags in the tag groups.
To view tag groups and tags in the tag groups, take the following steps:
- Log on to the Mini Program platform.
- In the left navigation panel, click Mini Programs.
- On the Manage Mini Programs page that appears, click Tag Management.
- On the Tag Groups page that appears, you can view the created tag groups that are displayed in cards. Each card displays the following information of a tag group:
- Name of the tag group
- Creator of the tag group
- Time when the tag group was created
- Last modified time
- Whether the tag group is required
- Tags in the tag group

Figure 3. View tag groups
- Click View All to view all the tags of the tag group. All tags and the corresponding descriptions are displayed.
Edit tag groups and tags
After you create tag groups, you can edit the tag groups and tags in the tag groups.
To edit tag groups and tags in the tag groups, take the following steps:
- Log on to the Mini Program platform.
- In the left navigation panel, click Mini Programs.
- On the Manage Mini Programs page that appears, click Tag Management.
- On the Tag Groups page that appears, locate the tag group that you want to edit and click the
icon in the upper right corner of the card. - In the Edit Tag Group panel that appears, modify the configurations and tags based on your business requirements.
- Click Save.
Note: After you modify a tag group, mini programs that are bound with the tag group may become outdated. The mini programs are still bound with the original tags unless new versions are released. Therefore, compatibility issues must be taken into consideration when modifying tags and tag groups.
For more information about how to handle tag-outdated mini programs, see Handle tag-outdated mini programs.
Delete tag groups and tags
After you create tag groups, you can delete the tag groups and tags in the tag groups.
Delete a tag group
To delete a tag group, take the following steps:
- Log on to the Mini Program platform.
- In the left navigation panel, click Mini Programs.
- On the Manage Mini Programs page that appears, click Tag Management.
- In the Tag Groups page that appears, locate the tag group that you want to delete and click the
icon in the upper right corner of the card. - In the confirmation dialog that appears, click Delete.
Delete tags in a tag group
To delete tags in a tag group, take the following steps:
- Log on to the Mini Program platform.
- In the left navigation panel, click Mini Programs.
- On the Manage Mini Programs page that appears, click Tag Management.
- In the Tag Groups page that appears, locate the tag group whose tags you want to delete and click the
icon in the upper right corner of the card. - In the Edit Tag Group panel that appears, delete tags based on your business requirements.
- Click Save.
Note: After you delete a tag or tag group, mini programs that are bound with the tag become outdated. The mini programs are still bound with the deleted tags unless new versions are released. Therefore, compatibility issues must be taken into consideration when deleting tags and tag groups.
For more information about how to handle tag-outdated mini programs, see Handle tag-outdated mini programs.

