Free tool Mini program scene values: WeChat, Alipay and Douyin
Every time a mini program opens, the host app passes a number that says where the user came from: 1007 is a card in a one-to-one chat, 1047 is a scanned mini program code, 1089 is the recently-used row. This page puts the official WeChat, Alipay and Douyin lists in one searchable table, with English translations and the group each code lands in when you report on entrances.
- Official lists, checked 2026-11-10
- English translation next to the Chinese
- Runs locally
Search scene values
Type a code, a word (scan, share, ad, Channels) or paste several codes separated by spaces or commas. Filter by platform or by report group.
Examples: 1047, scan, 1007 1008 1044, 021002. A code that is not in any official list still shows the group TapCub would put it in.
Douyin codes cover Douyin, Douyin Lite, Toutiao and Toutiao Lite (the first two digits name the app).
The entrance groups used in TapCub mini program reports.
Scene values
| Platform | Scene | Description | Notes | TapCub group |
|---|---|---|---|---|
1000 | Other其他 | Other | ||
1001 | Discover › Mini Programs “Recently used” list (base library 2.2.4–2.29.0 also included “My Mini Programs”)发现页小程序「最近使用」列表(基础库2.2.4-2.29.0版本包含「我的小程序」列表,2.29.1版本起仅为「最近使用」列表) | Direct / fixed entry | ||
1005 | Search results from the top search bar on the WeChat home screen微信首页顶部搜索框的搜索结果页 | Search | ||
1006 | Search results from the search bar in Discover › Mini Programs发现栏小程序主入口搜索框的搜索结果页 | Search | ||
1007 | Mini program card in a one-to-one chat单人聊天会话中的小程序消息卡片 | Share / social | ||
1008 | Mini program card in a group chat群聊会话中的小程序消息卡片 | Share / social | ||
1010 | Favorites收藏夹 | Other | ||
1011 | Scan a QR code扫描二维码 | Scan | ||
1012 | Long-press an image to scan a QR code长按图片识别二维码 | Scan | ||
1013 | Scan a QR code picked from the photo album扫描手机相册中选取的二维码 | Scan | ||
1014 | Mini program subscription message (same as 1107)小程序订阅消息(与1107相同) | Messaging | ||
1017 | Entry page of the mini program trial version前往小程序体验版的入口页 | Ads / promo slots | ||
1019 | WeChat Wallet (became the Pay entry in WeChat 7.0.0)微信钱包(微信客户端7.0.0版本改为支付入口) | Direct / fixed entry | ||
1020 | Related mini programs on an official account profile (deprecated)公众号 profile 页相关小程序列表(已废弃) | Deprecated | Mini program / official account | |
1022 | Pinned mini program at the top of a chat (deprecated since WeChat 6.6.1)聊天顶部置顶小程序入口(微信客户端6.6.1版本起废弃) | Deprecated | Share / social | |
1023 | Android home-screen icon安卓系统桌面图标 | Direct / fixed entry | ||
1024 | Mini program profile page小程序 profile 页 | Direct / fixed entry | ||
1025 | Scan a barcode扫描一维码 | Scan | ||
1026 | Discover › Mini Programs “Nearby” list发现栏小程序主入口,「附近的小程序」列表 | Direct / fixed entry | ||
1027 | “Used mini programs” list in home-screen search results微信首页顶部搜索框搜索结果页「使用过的小程序」列表 | Search | ||
1028 | Cards & Offers我的卡包 | Direct / fixed entry | ||
1029 | Coupon detail page inside a mini program小程序中的卡券详情页 | Other | ||
1030 | Opened by automated testing自动化测试下打开小程序 | Other | ||
1031 | Long-press an image to scan a barcode长按图片识别一维码 | Scan | ||
1032 | Scan a barcode picked from the photo album扫描手机相册中选取的一维码 | Scan | ||
1034 | WeChat Pay success page微信支付完成页 | Messaging | ||
1035 | Official account custom menu公众号自定义菜单 | Mini program / official account | ||
1036 | Card shared from an appApp 分享消息卡片 | From an app | ||
1037 | Opened from another mini program小程序打开小程序 | Mini program / official account | ||
1038 | Returning from another mini program从另一个小程序返回 | Mini program / official account | ||
1039 | Shake TV摇电视 | Direct / fixed entry | ||
1042 | Search results in the Add Friends search bar添加好友搜索框的搜索结果页 | Search | ||
1043 | Official account template message公众号模板消息 | Mini program / official account | ||
1044 | Mini program card with shareTicket带 shareTicket 的小程序消息卡片 | Share / social | ||
1045 | Moments ad朋友圈广告 | Ads / promo slots | ||
1046 | Moments ad detail page朋友圈广告详情页 | Ads / promo slots | ||
1047 | Scan a mini program code扫描小程序码 | Scan | ||
1048 | Long-press an image to scan a mini program code长按图片识别小程序码 | Scan | ||
1049 | Scan a mini program code picked from the photo album扫描手机相册中选取的小程序码 | Scan | ||
1052 | Store list of a coupon卡券的适用门店列表 | Ads / promo slots | ||
1053 | Search (Sou Yi Sou) results page搜一搜的结果页 | Search | ||
1054 | Mini program shortcut in the top search bar (deprecated since WeChat 6.7.4)顶部搜索框小程序快捷入口(微信客户端版本6.7.4起废弃) | Deprecated | Search | |
1056 | Top-right menu of the music player at the top of a chat聊天顶部音乐播放器右上角菜单 | Direct / fixed entry | ||
1057 | Bank card detail page in Wallet钱包中的银行卡详情页 | Ads / promo slots | ||
1058 | Official account article公众号文章 | Mini program / official account | ||
1059 | Trial-version invitation page体验版小程序绑定邀请页 | Mini program / official account | ||
1060 | WeChat Pay success page (same as 1034)微信支付完成页(与1034相同) | Other | ||
1064 | Wi-Fi status bar on the WeChat home screen微信首页连Wi-Fi状态栏 | Direct / fixed entry | ||
1065 | URL SchemeURL scheme | Other | ||
1067 | Official account article ad公众号文章广告 | Ads / promo slots | ||
1068 | Ad in the nearby mini programs list (deprecated)附近小程序列表广告(已废弃) | Deprecated | Other | |
1069 | Mobile app opening the mini program via OpenSDK移动应用通过openSDK进入微信,打开小程序 | From an app | ||
1071 | Bank card list in Wallet钱包中的银行卡列表页 | Share / social | ||
1072 | QR code payment collection page二维码收款页面 | Ads / promo slots | ||
1073 | Mini program card sent in a customer service message list客服消息列表下发的小程序消息卡片 | Messaging | ||
1074 | Mini program card sent in an official account chat公众号会话下发的小程序消息卡片 | Mini program / official account | ||
1077 | Shake nearby (iBeacon)摇周边 | Share / social | ||
1078 | WeChat Wi-Fi connected page微信连Wi-Fi成功提示页 | Share / social | ||
1079 | WeChat Games center微信游戏中心 | Direct / fixed entry | ||
1081 | Text link sent in a customer service message客服消息下发的文字链 | Share / social | ||
1082 | Text link sent in an official account chat公众号会话下发的文字链 | Share / social | ||
1084 | Moments ad native page朋友圈广告原生页 | Ads / promo slots | ||
1088 | System message in a chat会话中查看系统消息,打开小程序 | Other | ||
1089 | Pull down on the chat list, “Recently used” row (2.2.4–2.29.0 also included “My Mini Programs”)微信聊天主界面下拉,「最近使用」栏(基础库2.2.4-2.29.0版本包含「我的小程序」栏,2.29.1版本起仅为「最近使用」栏 | Recent / favorites | ||
1090 | Recent history from a long press on the top-right menu长按小程序右上角菜单唤出最近使用历史 | Share / social | ||
1091 | Product card in an official account article公众号文章商品卡片 | Mini program / official account | ||
1092 | City Services entry城市服务入口 | Messaging | ||
1095 | Mini program ad component小程序广告组件 | Ads / promo slots | ||
1096 | Chat history聊天记录,打开小程序 | Ads / promo slots | ||
1097 | WeChat Pay contract signing page微信支付签约原生页,打开小程序 | Messaging | ||
1099 | Embedded plugin in a page页面内嵌插件 | Ads / promo slots | ||
1100 | Red packet cover detail page红包封面详情页打开小程序 | Other | ||
1101 | Remote debugging hot reload (DevTools › Preview › Auto preview)远程调试热更新(开发者工具中,预览 -> 自动预览 -> 编译并预览) | Other | ||
1102 | Service preview on an official account profile公众号 profile 页服务预览 | Mini program / official account | ||
1103 | Discover › Mini Programs “My Mini Programs” list (in effect from base library 2.29.1)发现页小程序「我的小程序」列表(基础库2.2.4-2.29.0版本废弃,2.29.1版本起生效) | Recent / favorites | ||
1104 | Pull down on the chat list, “My Mini Programs” row (in effect from base library 2.29.1)微信聊天主界面下拉,「我的小程序」栏(基础库2.2.4-2.29.0版本废弃,2.29.1版本起生效) | Recent / favorites | ||
1106 | Pull down on the chat list, from top search results聊天主界面下拉,从顶部搜索结果页,打开小程序 | Direct / fixed entry | ||
1107 | Subscription message订阅消息,打开小程序 | Share / social | ||
1113 | Android minus-one screen (Samsung)安卓手机负一屏,打开小程序(三星) | Messaging | ||
1114 | Android sidebar (Samsung)安卓手机侧边栏,打开小程序(三星) | Messaging | ||
1119 | [WeCom] Workbench【企业微信】工作台内打开小程序 | Other | ||
1120 | [WeCom] Profile page【企业微信】个人资料页内打开小程序 | Other | ||
1121 | [WeCom] Chat attachment panel【企业微信】聊天加号附件框内打开小程序 | Other | ||
1124 | Scan a “one item, one code” code扫“一物一码”打开小程序 | Other | ||
1125 | Long-press an image to scan a “one item, one code” code长按图片识别“一物一码” | Other | ||
1126 | Scan a “one item, one code” code picked from the photo album扫描手机相册中选取的“一物一码” | Other | ||
1129 | WeChat crawler visit微信爬虫访问 | Share / social | ||
1131 | Floating window (from 8.0, passive floating windows only)浮窗(8.0版本起仅包含被动浮窗) | Share / social | ||
1133 | Opened by a hardware device硬件设备打开小程序 | Messaging | ||
1135 | Related mini programs on a mini program profile page小程序profile页相关小程序列表,打开小程序 | Messaging | ||
1144 | Official account article video patch公众号文章 - 视频贴片 | Other | ||
1145 | Discover › Discover Mini Programs发现栏 - 发现小程序 | Other | ||
1146 | Travel mini program opened from location info地理位置信息打开出行类小程序 | Search | ||
1148 | Cards › Transit card卡包-交通卡,打开小程序 | Share / social | ||
1150 | Product barcode scan result page扫一扫商品条码结果页打开小程序 | Share / social | ||
1151 | Discover › My Orders发现栏 - 我的订单 | Other | ||
1152 | Subscription account video订阅号视频打开小程序 | Other | ||
1153 | Object recognition result page“识物”结果页打开小程序 | Share / social | ||
1154 | Opening “single-page mode” in Moments朋友圈内打开“单页模式” | Share / social | ||
1155 | Opened from “single-page mode”“单页模式”打开小程序 | Share / social | ||
1157 | Service account chat服务号会话页打开小程序 | Other | ||
1158 | Group tool群工具打开小程序 | Share / social | ||
1160 | Group to-do群待办 | Share / social | ||
1167 | Web page via open tag (wx-open-launch-weapp)H5 通过开放标签打开小程序 | Share / social | ||
1168 | Mobile or website app running the mini program directly移动/网站应用直接运行小程序 | Other | ||
1169 | Discover › Mini Programs life-service entries (delivery, travel, etc.)发现栏小程序主入口,各个生活服务入口(例如快递服务、出行服务等) | Share / social | ||
1171 | WeRun records (Android only)微信运动记录(仅安卓) | Search | ||
1173 | Chat file opened with a mini program聊天素材用小程序打开 | Share / social | ||
1175 | Channels profile shop entry视频号主页商店入口 | Share / social | ||
1176 | Opened by the host in a Channels live stream视频号直播间主播打开小程序 | Share / social | ||
1177 | Channels live stream product视频号直播商品 | Share / social | ||
1178 | Mini program opened on phone, continued on computer在电脑打开手机上打开的小程序 | Share / social | ||
1179 | #Topic page#话题页打开小程序 | Share / social | ||
1181 | Website app opening a PC mini program网站应用打开PC小程序 | Share / social | ||
1183 | PC WeChat › Mini program panel › Discover › SearchPC微信 - 小程序面板 - 发现小程序 - 搜索 | Share / social | ||
1184 | Channels link视频号链接打开小程序 | Share / social | ||
1185 | Group announcement群公告 | Share / social | ||
1186 | Favorites › Notes收藏 - 笔记 | Share / social | ||
1187 | Floating window (from 8.0) or starred浮窗(8.0版本起)或星标 | Share / social | ||
1189 | Emoji rain ad表情雨广告 | Share / social | ||
1191 | Channels event视频号活动 | Share / social | ||
1192 | WeCom contact profile page企业微信联系人profile页 | Share / social | ||
1193 | Channels profile service menu视频号主页服务菜单打开小程序 | Share / social | ||
1194 | URL LinkURL Link | Share / social | ||
1195 | Channels profile product tab视频号主页商品tab | Share / social | ||
1196 | Personal status个人状态打开小程序 | Share / social | ||
1197 | Channels host returning to a mini game from the live room视频号主播从直播间返回小游戏 | Share / social | ||
1198 | Mini game opened from the Channels go-live screen视频号开播界面打开小游戏 | Share / social | ||
1200 | Channels ad视频号广告打开小程序 | Share / social | ||
1201 | Channels ad detail page视频号广告详情页打开小程序 | Ads / promo slots | ||
1202 | Mini program card in a WeCom customer service chat企微客服号会话打开小程序卡片 | Other | ||
1203 | Request from the mini program load-testing tool微信小程序压测工具的请求 | Other | ||
1206 | Mini game opened from a Channels mini game live room视频号小游戏直播间打开小游戏 | Share / social | ||
1207 | Mini program text link in a WeCom customer service chat企微客服号会话打开小程序文字链 | Other | ||
1208 | Product card in a chat聊天打开商品卡片 | Share / social | ||
1212 | Teen mode request page青少年模式申请页打开小程序 | Other | ||
1215 | Ad reservation广告预约打开小程序 | Other | ||
1216 | Channels order center视频号订单中心打开小程序 | Other | ||
1217 | Bluetooth device waking the mini program in the background蓝牙设备后台唤醒小程序 | Other | ||
1218 | WeChat keyboard preview微信键盘预览打开小程序 | Other | ||
1219 | Join a mini game in one tap from a Channels live room视频号直播间小游戏一键上车 | Other | ||
1220 | Device card on the Discover page发现页设备卡片打开小程序 | Other | ||
1223 | Android home-screen widget安卓桌面Widget打开小程序 | Search | ||
1224 | “Mini program merchant assistant” feature"小程序商家助手"功能打开小程序 | Other | ||
1225 | Voice or video call音视频通话打开小程序 | Other | ||
1226 | Chat message opened after the device opened it聊天消息在设备打开后打开小程序 | Other | ||
1228 | Channels native ad component视频号原生广告组件打开小程序 | Share / social | ||
1230 | Subscription account H5 ad订阅号H5广告进入小程序 | Other | ||
1231 | Activity message reminder entry动态消息提醒入口打开小程序 | Share / social | ||
1232 | Search (Sou Yi Sou) bidding ad搜一搜竞价广告打开小程序 | Other | ||
1233 | Popular games module on the mini program search page小程序搜索页人气游戏模块打开小游戏 | Other | ||
1238 | Top Stories feed ad看一看信息流广告打开小程序 | Other | ||
1239 | Bubble in a Channels mini game live room视频号小游戏直播间气泡浮窗打开小游戏 | Other | ||
1242 | Store delivery channel page on the mini program Discover page小程序发现页门店快送模块频道页进入小程序 | Other | ||
1243 | Store delivery product page on the mini program Discover page小程序发现页门店快送模块商品聚合页进入小程序 | Other | ||
1244 | #Tag search results page#tag搜索结果页打开小程序 | Other | ||
1245 | Store delivery search results on the mini program Discover page小程序发现页门店快送搜索结果页进入小程序 | Other | ||
1248 | Mini program account migration通过小程序账号迁移进入小程序 | Other | ||
1252 | “Small features” module on the search page搜一搜小程序搜索页「小功能」模块进入小程序 | Other | ||
1254 | Discover page “Updates” card发现页「动态」卡片打开小程序 | Other | ||
1255 | Discover page “Mine” card发现页「我的」卡片打开小程序 | Other | ||
1256 | PC mini program panel “Recently used” listpc端小程序面板「最近使用」列表 | Other | ||
1257 | PC mini program panel “My Mini Programs” listpc端小程序面板「我的小程序」列表 | Other | ||
1258 | PC mini program panel “Optimized for PC” module (deprecated)pc端小程序面板「为电脑端优化」模块(已废弃) | Deprecated | Other | |
1259 | PC mini program panel “Mini games” module (deprecated)pc端小程序面板「小游戏专区」模块(已废弃) | Deprecated | Other | |
1260 | PC mini program panel “Frequently used”pc端小程序面板「常用的小程序」 | Other | ||
1261 | Official account commission product card公众号返佣商品卡片 | Other | ||
1265 | Mini program image detail page小程序图片详情页打开小程序 | Other | ||
1266 | Half-screen entry from long-pressing a mini program image小程序图片长按半屏入口打开小程序 | Other | ||
1267 | Chat badge on a mini program image小程序图片会话角标打开小程序 | Other | ||
1271 | Pull down on the chat list, “My frequently used” row微信聊天主界面下拉,「我的常用小程序」栏 | Other | ||
1272 | Discover page “Games” tab发现页「游戏」服务tab打开小程序 | Other | ||
1273 | Discover page “Frequently used mini programs” list发现页「常用的小程序」列表 | Other | ||
1274 | Tencent Youlianghui ad优量汇广告打开小程序 | Other | ||
1275 | Short drama card on the Discover page发现页短剧卡片打开小程序 | Other | ||
1276 | Short drama card second-level page发现页短剧卡片二级聚合页打开小程序 | Other | ||
1277 | Short drama card search results发现页短剧卡片搜索结果页打开小程序 | Other | ||
1278 | Discover page “Discover Mini Programs” list发现页「发现小程序」列表打开小程序 | Other | ||
1279 | Discover page “Discover Mini Programs” collection page发现页「发现小程序」合集页打开小程序 | Other | ||
1280 | Pull-down search “Suggested” section下拉任务栏小程序垂搜「建议使用」打开小程序 | Other | ||
1281 | Pull-down search “Discover Mini Programs” section下拉任务栏小程序垂搜「发现小程序」打开小程序 | Other | ||
1282 | Listen (audio) player听一听播放器打开小程序 | Other | ||
1285 | “Discover Mini Programs” short drama collection发现页「发现小程序」短剧合集打开小程序 | Other | ||
1286 | Plain-text URL Scheme明文scheme打开小程序 | Other | ||
1287 | Official account short drama patch公众号短剧贴片打开小程序 | Other | ||
1292 | “Discover Mini Programs” POI detail page发现页「发现小程序」poi 详情页打开小程序 | Other | ||
1293 | Short drama card “Following” page发现页短剧卡片追剧页打开小程序 | Other | ||
1295 | Pull-down search “Discover Mini Programs” ad下拉任务栏小程序垂搜「发现小程序」广告打开小程序 | Other | ||
1296 | Channels paid short drama bubble视频号付费短剧气泡打开小程序 | Other | ||
1297 | Discover › Mini Programs › Search “Discover Mini Programs”发现-小程序-搜索「发现小程序」打开小程序 | Other | ||
1298 | Collection opened from pull-down search “Discover Mini Programs”下拉任务栏小程序垂搜「发现小程序」打开的合集访问小程序 | Other | ||
1299 | POI detail page from pull-down search “Discover Mini Programs”下拉任务栏小程序垂搜「发现小程序」poi 详情页打开小程序 | Other | ||
1300 | Collection opened from Discover › Mini Programs › Search发现-小程序-搜索「发现小程序」打开的合集访问小程序 | Other | ||
1301 | POI detail page from Discover › Mini Programs › Search发现-小程序-搜索「发现小程序」poi 详情页打开小程序 | Other | ||
1302 | PC panel “Discover Mini Programs”PC端面板「发现小程序」 | Other | ||
1303 | Short drama card video feed发现页短剧卡片视频流打开小程序 | Other | ||
1304 | Phone minus-one screen (e.g. OPPO)手机负一屏打开小程序(比如oppo手机) | Other | ||
1305 | Official account end-of-playback page公众号播放结束页打开小程序 | Other | ||
1306 | Official account short drama episode entry公众号短剧固定选集入口打开小程序 | Other | ||
1307 | Nearby services overseas section on the Discover page发现页附近服务境外专区打开小程序 | Other | ||
1308 | PC panel mini games pagePC端面板小游戏专区页面 | Other | ||
1311 | Mini game CPS card in an official account article公众号文章打开小游戏CPS卡片 | Other | ||
1313 | PC OpenSDKPC OpenSDK打开小程序 | Other | ||
1325 | Badge on a sticker message shared in chat-tool mode聊天工具模式分享的表情包消息角标打开小程序 | Other | ||
1326 | Badge on a message shared in chat-tool mode聊天工具模式分享的角标打开小程序 | Other | ||
1327 | Badge on a text message shared in chat-tool mode聊天工具模式分享的文本消息角标打开小程序 | Other | ||
1328 | Hyperlink in a text message shared in chat-tool mode聊天工具模式分享的文本消息超链接打开小程序 | Other | ||
1336 | WeChat Shop linking a membership小店打开小程序关联会员身份 | Other | ||
1337 | WeChat Shop order confirmation using member benefits小店确认订单页跳小程序使用会员权益 | Other | ||
1340 | Popular products on a mini program profile小程序profile-热门商品入口打开小程序 | Other | ||
1346 | Mini program card shared via PC OpenSDKPC OpenSDK分享小程序卡片 | Other | ||
1347 | “WeChat Games” chat plugin「微信游戏」聊天插件打开小游戏 | Other | ||
1362 | Official mini game component小游戏官方组件 | Other | ||
1363 | Discover › Mini Programs › Student deals section发现·小程序·大学生优惠专区 | Other | ||
1373 | Mini game rating page小游戏评分页跳转 | Other | ||
1374 | “Scan” message in Service Notifications服务通知中「扫一扫」消息打开小程序 | Other | ||
1378 | Android download-complete system notification安卓下载完成的系统通知打开小程序 | Other | ||
1379 | Xiaowei operating the mini program for the user小微帮用户操作小程序 | Other | ||
1380 | Mini program card sent in Xiaowei小微中下发的小程序卡片 | Other | ||
1387 | Rewarded video opening a playable mini game激励视频打开小游戏直玩 | Other | ||
1397 | WeChat Pay merchant card微信支付商家名片打开小程序 | Other | ||
1398 | Shake for deals coupon detail page摇优惠优惠券详情页打开小程序 | Other | ||
1400 | PC WeChat Games centerPC微信游戏中心 | Other | ||
1403 | Ad-free coupon list免广告券列表跳转至小程序 | Other | ||
1408 | Content shared to a Yuanbao contact, parsed in the background小程序内容分享给元宝联系人,后台启动小程序进行解析 | Other | ||
1409 | PC mini game extensionPC小游戏扩展片打开小游戏 | Other | ||
1426 | Image post published by an official account公众号发表的贴图打开小程序 | Other | ||
1427 | Official account text post公众号文字打开小程序 | Other | ||
1428 | Mini game IAA game entry小游戏IAA相关游戏入口 | Other | ||
1429 | Official account audio公众号音频打开小程序 | Other | ||
1430 | Related services on the WeChat location page微信位置页相关服务打开小程序 | Other | ||
1432 | Image post published by an image account贴图号发表的贴图打开小程序 | Other |
English descriptions are TapCub translations of the official Chinese text, shown in grey under each one. When in doubt, the Chinese wording is the reference.
Sources
Descriptions are copied from each platform’s own documentation; the English column is our translation.
- WeChat: 232 codes · checked 2026-11-10 developers.weixin.qq.com/miniprogram/dev/reference/scene-list.html
- Alipay: 30 codes · checked 2026-11-10 · page updated 2024-10-21 opendocs.alipay.com/mini/08otyv
- Douyin: 146 codes · checked 2026-11-10 · page updated 2025-09-12 developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/framework/scene-value
Version v1.0Updated Update history
What a scene value tells you, and what it does not
A scene value describes the doorway, not the campaign. Combine it with your own parameters to know which poster, article or ad brought the visit.
Scene value
The number the host app passes in onLaunch / onShow (options.scene) or from wx.getLaunchOptionsSync() / wx.getEnterOptionsSync(). WeChat and Alipay codes are four digits; Douyin codes are six-digit strings.
Description
Copied from the platform’s list. On the English page our translation comes first and the official Chinese sits under it; the Chinese text is the one that counts.
TapCub group
TapCub folds hundreds of codes into 11 entrance groups so the report stays readable: scan, share, search, ads and so on. The rules are listed below; any code that is not covered falls into Other.
Codes that are not listed
Platforms add codes quietly. A number missing from the lists still gets a group from TapCub’s rules (for WeChat 1170–1200 counts as share / social; for Douyin the third digit names the category), marked in amber.
The same code can mean different things on different platforms: 1007 is a one-to-one chat card on both WeChat and Alipay, but Alipay 1008 is the smart assistant while WeChat 1008 is a group chat.
Three ways to use the table
Most people arrive with one number from a log or a report; the table also works as a planning list.
-
1
Look up a number
Type the code you saw in
options.sceneor a report. Paste several at once to read a whole report column. -
2
Browse by group
Pick a TapCub group (Scan, Share / social, Ads) to see every doorway that belongs to it, for example before printing codes or planning a Channels campaign.
-
3
Plan the parameters
A scene value says “scanned a code”, not which code. Add your own parameters with the mini program path generator so each poster or store gets its own value.
How TapCub groups scene values
The groups come from the same rules the TapCub mini program SDK uses when it sends $scene_channel with each launch; the report recalculates them from $scene for older data. Exact codes are matched first, then a few ranges, and everything else is Other.
- WeChat: an exact table of known codes, then ranges 1005–1006 search, 1007–1008 share, 1011–1013 scan, 1045–1046 ads, 1170–1200 share / social
- Alipay: an exact table (1000 direct, 1011 scan, 1037 / 1038 mini program jumps, 1300 third-party app…), and 1200–1209 service channels count as direct
- Douyin: the first two digits are the app (02 Douyin, 10 Douyin Lite, 01 Toutiao, 06 Toutiao Lite), the third digit the category: 1 fixed entry, 2 search, 3 content, 4 share; 5–7 differ between the Douyin and Toutiao families
- Baidu, Kuaishou and QQ mini programs have no mapping and always count as Other
| Group | Alipay | Douyin | |
|---|---|---|---|
| Scan | 1011, 1012, 1013, 1047, 1048, 1049 | 1011 | 021002, 101002, 011007 |
| Share / social | 1007, 1008, 1044 | 1007 | 024xxx, 104xxx, 014xxx |
| Search | 1005, 1006, 1053 | 1005 | 022xxx, 012xxx, 062xxx |
| Ads / promo slots | 1045, 1046, 1067, 1095 | — | 025001, 016001, most 026xxx |
| Mini program / official account | 1035, 1037, 1038, 1058, 1074 | 1020, 1037, 1038 | xx1009, xx1010 |
| Recent / favorites | 1089, 1103, 1104 | 1002, 1090 | 011004, 061001, 061004 |
Reading a week of entrances for a store campaign
A coffee chain printed mini program codes on table cards in 20 stores and shared a coupon page in customer groups. The raw report column looked like this.
| Scene | Official meaning | TapCub group | What it says |
|---|---|---|---|
1047 | Scan a mini program code | Scan | People scanning the table cards with the camera |
1048 | Long-press an image to scan a mini program code | Scan | The card image forwarded in chats and long-pressed |
1008 | Mini program card in a group chat | Share / social | The coupon page shared in customer groups |
1044 | Mini program card with shareTicket | Share / social | Group shares where the app asked for shareTicket |
1089 | Pull down on the chat list, recently used | Recent / favorites | Returning customers, not new reach |
The scene value alone could not say which store’s card was scanned. The cards carried scene=store=021 style parameters, so the same 1047 visits could be split by store.
Where scene value reports go wrong
Most confusion comes from treating the scene value as a campaign ID.
Expecting the scene to name the poster
1047 says a code was scanned, not which code. Put your own parameter in the code (scene for unlimited codes, a query for path codes) to tell posters apart.
Reusing WeChat names for Alipay
Codes overlap but meanings differ (1008 is a group chat on WeChat, the smart assistant on Alipay). Always read codes together with the platform.
Reading only onLaunch
A warm start does not call onLaunch again. Read onShow or wx.getEnterOptionsSync() for the scene of the current visit, and getLaunchOptionsSync() for the cold start.
Treating the list as complete
Platforms add codes without notice; Douyin’s page says its table is not kept fully up to date. Leave room for unknown numbers instead of dropping them.
Scene values become an entrance report
The TapCub mini program SDK records the scene value on every launch and show, so you do not need to look numbers up by hand.
Scene value analysis
New users, day-1 retention and active share for each scene and each group, on WeChat, Alipay and Douyin.
Learn moreShares and return traffic
Shares sent, return opens, new users and viral depth, so share scenes connect to the share that caused them.
Learn morePaths from the entrance
Start a path from a scene or any page and see where people go next and where they leave.
Learn moreMini program scene value questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
What is a mini program scene value?
A number the host app passes when a mini program opens, describing the entrance: a chat card, a scanned code, search, an ad, the recently-used list and so on. WeChat and Alipay use four-digit codes, Douyin six-digit strings.
How do I get the scene value in a WeChat mini program?
Read options.scene in App.onLaunch and App.onShow, or call wx.getLaunchOptionsSync() (cold start) and wx.getEnterOptionsSync() (current visit). Alipay has the same pattern with my.getLaunchOptionsSync / my.getEnterOptionsSync.
What do 1011, 1047 and 1048 mean?
1011 is scanning an ordinary QR code that links to the mini program, 1047 scanning a mini program code, 1048 long-pressing an image to recognise a mini program code. 1012 / 1013 and 1049 are the long-press and photo-album versions.
Which scene values do URL Scheme and URL Link produce?
On WeChat an encrypted URL Scheme opens with 1065, a plain-text URL Scheme with 1286, and a URL Link opened outside WeChat with 1194. Inside WeChat a URL Link is turned into the open tag and reports 1167.
Why does my report show a scene value that is not on the list?
Platforms add codes faster than they update their pages. This tool still shows the group TapCub would assign; check the official page linked under the table for anything new.
How are Douyin scene values structured?
Six digits: the first two name the app (02 Douyin, 10 Douyin Lite, 01 Toutiao, 06 Toutiao Lite), the third the entrance category (1 fixed, 2 search, 3 content, 4 share…), the last three the exact spot. Douyin introduced scene values in base library 1.12.0.
Are the English names official?
No. WeChat, Alipay and Douyin publish these lists only in Chinese. The English text is our translation and the Chinese description is shown with it.
Update history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Data this tool relies on
- WeChat, Alipay and Douyin mini program scene values — checked 2026-11-10, reviewed every 6 months (next review by 2027-05-10)
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Give each entrance its own parameter
Scene values tell you the doorway. Parameters tell you the campaign. TapCub reads both from the same launch.