TapCub is live — analytics, insights and live chat, free on one platform

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
Lookup

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.

232 scene values match.

Scene values

PlatformSceneDescriptionNotesTapCub group
WeChat1000Other其他Other
WeChat1001Discover › 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
WeChat1005Search results from the top search bar on the WeChat home screen微信首页顶部搜索框的搜索结果页Search
WeChat1006Search results from the search bar in Discover › Mini Programs发现栏小程序主入口搜索框的搜索结果页Search
WeChat1007Mini program card in a one-to-one chat单人聊天会话中的小程序消息卡片Share / social
WeChat1008Mini program card in a group chat群聊会话中的小程序消息卡片Share / social
WeChat1010Favorites收藏夹Other
WeChat1011Scan a QR code扫描二维码Scan
WeChat1012Long-press an image to scan a QR code长按图片识别二维码Scan
WeChat1013Scan a QR code picked from the photo album扫描手机相册中选取的二维码Scan
WeChat1014Mini program subscription message (same as 1107)小程序订阅消息(与1107相同)Messaging
WeChat1017Entry page of the mini program trial version前往小程序体验版的入口页Ads / promo slots
WeChat1019WeChat Wallet (became the Pay entry in WeChat 7.0.0)微信钱包(微信客户端7.0.0版本改为支付入口)Direct / fixed entry
WeChat1020Related mini programs on an official account profile (deprecated)公众号 profile 页相关小程序列表(已废弃)DeprecatedMini program / official account
WeChat1022Pinned mini program at the top of a chat (deprecated since WeChat 6.6.1)聊天顶部置顶小程序入口(微信客户端6.6.1版本起废弃)DeprecatedShare / social
WeChat1023Android home-screen icon安卓系统桌面图标Direct / fixed entry
WeChat1024Mini program profile page小程序 profile 页Direct / fixed entry
WeChat1025Scan a barcode扫描一维码Scan
WeChat1026Discover › Mini Programs “Nearby” list发现栏小程序主入口,「附近的小程序」列表Direct / fixed entry
WeChat1027“Used mini programs” list in home-screen search results微信首页顶部搜索框搜索结果页「使用过的小程序」列表Search
WeChat1028Cards & Offers我的卡包Direct / fixed entry
WeChat1029Coupon detail page inside a mini program小程序中的卡券详情页Other
WeChat1030Opened by automated testing自动化测试下打开小程序Other
WeChat1031Long-press an image to scan a barcode长按图片识别一维码Scan
WeChat1032Scan a barcode picked from the photo album扫描手机相册中选取的一维码Scan
WeChat1034WeChat Pay success page微信支付完成页Messaging
WeChat1035Official account custom menu公众号自定义菜单Mini program / official account
WeChat1036Card shared from an appApp 分享消息卡片From an app
WeChat1037Opened from another mini program小程序打开小程序Mini program / official account
WeChat1038Returning from another mini program从另一个小程序返回Mini program / official account
WeChat1039Shake TV摇电视Direct / fixed entry
WeChat1042Search results in the Add Friends search bar添加好友搜索框的搜索结果页Search
WeChat1043Official account template message公众号模板消息Mini program / official account
WeChat1044Mini program card with shareTicket带 shareTicket 的小程序消息卡片Share / social
WeChat1045Moments ad朋友圈广告Ads / promo slots
WeChat1046Moments ad detail page朋友圈广告详情页Ads / promo slots
WeChat1047Scan a mini program code扫描小程序码Scan
WeChat1048Long-press an image to scan a mini program code长按图片识别小程序码Scan
WeChat1049Scan a mini program code picked from the photo album扫描手机相册中选取的小程序码Scan
WeChat1052Store list of a coupon卡券的适用门店列表Ads / promo slots
WeChat1053Search (Sou Yi Sou) results page搜一搜的结果页Search
WeChat1054Mini program shortcut in the top search bar (deprecated since WeChat 6.7.4)顶部搜索框小程序快捷入口(微信客户端版本6.7.4起废弃)DeprecatedSearch
WeChat1056Top-right menu of the music player at the top of a chat聊天顶部音乐播放器右上角菜单Direct / fixed entry
WeChat1057Bank card detail page in Wallet钱包中的银行卡详情页Ads / promo slots
WeChat1058Official account article公众号文章Mini program / official account
WeChat1059Trial-version invitation page体验版小程序绑定邀请页Mini program / official account
WeChat1060WeChat Pay success page (same as 1034)微信支付完成页(与1034相同)Other
WeChat1064Wi-Fi status bar on the WeChat home screen微信首页连Wi-Fi状态栏Direct / fixed entry
WeChat1065URL SchemeURL schemeOther
WeChat1067Official account article ad公众号文章广告Ads / promo slots
WeChat1068Ad in the nearby mini programs list (deprecated)附近小程序列表广告(已废弃)DeprecatedOther
WeChat1069Mobile app opening the mini program via OpenSDK移动应用通过openSDK进入微信,打开小程序From an app
WeChat1071Bank card list in Wallet钱包中的银行卡列表页Share / social
WeChat1072QR code payment collection page二维码收款页面Ads / promo slots
WeChat1073Mini program card sent in a customer service message list客服消息列表下发的小程序消息卡片Messaging
WeChat1074Mini program card sent in an official account chat公众号会话下发的小程序消息卡片Mini program / official account
WeChat1077Shake nearby (iBeacon)摇周边Share / social
WeChat1078WeChat Wi-Fi connected page微信连Wi-Fi成功提示页Share / social
WeChat1079WeChat Games center微信游戏中心Direct / fixed entry
WeChat1081Text link sent in a customer service message客服消息下发的文字链Share / social
WeChat1082Text link sent in an official account chat公众号会话下发的文字链Share / social
WeChat1084Moments ad native page朋友圈广告原生页Ads / promo slots
WeChat1088System message in a chat会话中查看系统消息,打开小程序Other
WeChat1089Pull 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
WeChat1090Recent history from a long press on the top-right menu长按小程序右上角菜单唤出最近使用历史Share / social
WeChat1091Product card in an official account article公众号文章商品卡片Mini program / official account
WeChat1092City Services entry城市服务入口Messaging
WeChat1095Mini program ad component小程序广告组件Ads / promo slots
WeChat1096Chat history聊天记录,打开小程序Ads / promo slots
WeChat1097WeChat Pay contract signing page微信支付签约原生页,打开小程序Messaging
WeChat1099Embedded plugin in a page页面内嵌插件Ads / promo slots
WeChat1100Red packet cover detail page红包封面详情页打开小程序Other
WeChat1101Remote debugging hot reload (DevTools › Preview › Auto preview)远程调试热更新(开发者工具中,预览 -> 自动预览 -> 编译并预览)Other
WeChat1102Service preview on an official account profile公众号 profile 页服务预览Mini program / official account
WeChat1103Discover › 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
WeChat1104Pull 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
WeChat1106Pull down on the chat list, from top search results聊天主界面下拉,从顶部搜索结果页,打开小程序Direct / fixed entry
WeChat1107Subscription message订阅消息,打开小程序Share / social
WeChat1113Android minus-one screen (Samsung)安卓手机负一屏,打开小程序(三星)Messaging
WeChat1114Android sidebar (Samsung)安卓手机侧边栏,打开小程序(三星)Messaging
WeChat1119[WeCom] Workbench【企业微信】工作台内打开小程序Other
WeChat1120[WeCom] Profile page【企业微信】个人资料页内打开小程序Other
WeChat1121[WeCom] Chat attachment panel【企业微信】聊天加号附件框内打开小程序Other
WeChat1124Scan a “one item, one code” code扫“一物一码”打开小程序Other
WeChat1125Long-press an image to scan a “one item, one code” code长按图片识别“一物一码”Other
WeChat1126Scan a “one item, one code” code picked from the photo album扫描手机相册中选取的“一物一码”Other
WeChat1129WeChat crawler visit微信爬虫访问Share / social
WeChat1131Floating window (from 8.0, passive floating windows only)浮窗(8.0版本起仅包含被动浮窗)Share / social
WeChat1133Opened by a hardware device硬件设备打开小程序Messaging
WeChat1135Related mini programs on a mini program profile page小程序profile页相关小程序列表,打开小程序Messaging
WeChat1144Official account article video patch公众号文章 - 视频贴片Other
WeChat1145Discover › Discover Mini Programs发现栏 - 发现小程序Other
WeChat1146Travel mini program opened from location info地理位置信息打开出行类小程序Search
WeChat1148Cards › Transit card卡包-交通卡,打开小程序Share / social
WeChat1150Product barcode scan result page扫一扫商品条码结果页打开小程序Share / social
WeChat1151Discover › My Orders发现栏 - 我的订单Other
WeChat1152Subscription account video订阅号视频打开小程序Other
WeChat1153Object recognition result page“识物”结果页打开小程序Share / social
WeChat1154Opening “single-page mode” in Moments朋友圈内打开“单页模式”Share / social
WeChat1155Opened from “single-page mode”“单页模式”打开小程序Share / social
WeChat1157Service account chat服务号会话页打开小程序Other
WeChat1158Group tool群工具打开小程序Share / social
WeChat1160Group to-do群待办Share / social
WeChat1167Web page via open tag (wx-open-launch-weapp)H5 通过开放标签打开小程序Share / social
WeChat1168Mobile or website app running the mini program directly移动/网站应用直接运行小程序Other
WeChat1169Discover › Mini Programs life-service entries (delivery, travel, etc.)发现栏小程序主入口,各个生活服务入口(例如快递服务、出行服务等)Share / social
WeChat1171WeRun records (Android only)微信运动记录(仅安卓)Search
WeChat1173Chat file opened with a mini program聊天素材用小程序打开Share / social
WeChat1175Channels profile shop entry视频号主页商店入口Share / social
WeChat1176Opened by the host in a Channels live stream视频号直播间主播打开小程序Share / social
WeChat1177Channels live stream product视频号直播商品Share / social
WeChat1178Mini program opened on phone, continued on computer在电脑打开手机上打开的小程序Share / social
WeChat1179#Topic page#话题页打开小程序Share / social
WeChat1181Website app opening a PC mini program网站应用打开PC小程序Share / social
WeChat1183PC WeChat › Mini program panel › Discover › SearchPC微信 - 小程序面板 - 发现小程序 - 搜索Share / social
WeChat1184Channels link视频号链接打开小程序Share / social
WeChat1185Group announcement群公告Share / social
WeChat1186Favorites › Notes收藏 - 笔记Share / social
WeChat1187Floating window (from 8.0) or starred浮窗(8.0版本起)或星标Share / social
WeChat1189Emoji rain ad表情雨广告Share / social
WeChat1191Channels event视频号活动Share / social
WeChat1192WeCom contact profile page企业微信联系人profile页Share / social
WeChat1193Channels profile service menu视频号主页服务菜单打开小程序Share / social
WeChat1194URL LinkURL LinkShare / social
WeChat1195Channels profile product tab视频号主页商品tabShare / social
WeChat1196Personal status个人状态打开小程序Share / social
WeChat1197Channels host returning to a mini game from the live room视频号主播从直播间返回小游戏Share / social
WeChat1198Mini game opened from the Channels go-live screen视频号开播界面打开小游戏Share / social
WeChat1200Channels ad视频号广告打开小程序Share / social
WeChat1201Channels ad detail page视频号广告详情页打开小程序Ads / promo slots
WeChat1202Mini program card in a WeCom customer service chat企微客服号会话打开小程序卡片Other
WeChat1203Request from the mini program load-testing tool微信小程序压测工具的请求Other
WeChat1206Mini game opened from a Channels mini game live room视频号小游戏直播间打开小游戏Share / social
WeChat1207Mini program text link in a WeCom customer service chat企微客服号会话打开小程序文字链Other
WeChat1208Product card in a chat聊天打开商品卡片Share / social
WeChat1212Teen mode request page青少年模式申请页打开小程序Other
WeChat1215Ad reservation广告预约打开小程序Other
WeChat1216Channels order center视频号订单中心打开小程序Other
WeChat1217Bluetooth device waking the mini program in the background蓝牙设备后台唤醒小程序Other
WeChat1218WeChat keyboard preview微信键盘预览打开小程序Other
WeChat1219Join a mini game in one tap from a Channels live room视频号直播间小游戏一键上车Other
WeChat1220Device card on the Discover page发现页设备卡片打开小程序Other
WeChat1223Android home-screen widget安卓桌面Widget打开小程序Search
WeChat1224“Mini program merchant assistant” feature"小程序商家助手"功能打开小程序Other
WeChat1225Voice or video call音视频通话打开小程序Other
WeChat1226Chat message opened after the device opened it聊天消息在设备打开后打开小程序Other
WeChat1228Channels native ad component视频号原生广告组件打开小程序Share / social
WeChat1230Subscription account H5 ad订阅号H5广告进入小程序Other
WeChat1231Activity message reminder entry动态消息提醒入口打开小程序Share / social
WeChat1232Search (Sou Yi Sou) bidding ad搜一搜竞价广告打开小程序Other
WeChat1233Popular games module on the mini program search page小程序搜索页人气游戏模块打开小游戏Other
WeChat1238Top Stories feed ad看一看信息流广告打开小程序Other
WeChat1239Bubble in a Channels mini game live room视频号小游戏直播间气泡浮窗打开小游戏Other
WeChat1242Store delivery channel page on the mini program Discover page小程序发现页门店快送模块频道页进入小程序Other
WeChat1243Store delivery product page on the mini program Discover page小程序发现页门店快送模块商品聚合页进入小程序Other
WeChat1244#Tag search results page#tag搜索结果页打开小程序Other
WeChat1245Store delivery search results on the mini program Discover page小程序发现页门店快送搜索结果页进入小程序Other
WeChat1248Mini program account migration通过小程序账号迁移进入小程序Other
WeChat1252“Small features” module on the search page搜一搜小程序搜索页「小功能」模块进入小程序Other
WeChat1254Discover page “Updates” card发现页「动态」卡片打开小程序Other
WeChat1255Discover page “Mine” card发现页「我的」卡片打开小程序Other
WeChat1256PC mini program panel “Recently used” listpc端小程序面板「最近使用」列表Other
WeChat1257PC mini program panel “My Mini Programs” listpc端小程序面板「我的小程序」列表Other
WeChat1258PC mini program panel “Optimized for PC” module (deprecated)pc端小程序面板「为电脑端优化」模块(已废弃)DeprecatedOther
WeChat1259PC mini program panel “Mini games” module (deprecated)pc端小程序面板「小游戏专区」模块(已废弃)DeprecatedOther
WeChat1260PC mini program panel “Frequently used”pc端小程序面板「常用的小程序」Other
WeChat1261Official account commission product card公众号返佣商品卡片Other
WeChat1265Mini program image detail page小程序图片详情页打开小程序Other
WeChat1266Half-screen entry from long-pressing a mini program image小程序图片长按半屏入口打开小程序Other
WeChat1267Chat badge on a mini program image小程序图片会话角标打开小程序Other
WeChat1271Pull down on the chat list, “My frequently used” row微信聊天主界面下拉,「我的常用小程序」栏Other
WeChat1272Discover page “Games” tab发现页「游戏」服务tab打开小程序Other
WeChat1273Discover page “Frequently used mini programs” list发现页「常用的小程序」列表Other
WeChat1274Tencent Youlianghui ad优量汇广告打开小程序Other
WeChat1275Short drama card on the Discover page发现页短剧卡片打开小程序Other
WeChat1276Short drama card second-level page发现页短剧卡片二级聚合页打开小程序Other
WeChat1277Short drama card search results发现页短剧卡片搜索结果页打开小程序Other
WeChat1278Discover page “Discover Mini Programs” list发现页「发现小程序」列表打开小程序Other
WeChat1279Discover page “Discover Mini Programs” collection page发现页「发现小程序」合集页打开小程序Other
WeChat1280Pull-down search “Suggested” section下拉任务栏小程序垂搜「建议使用」打开小程序Other
WeChat1281Pull-down search “Discover Mini Programs” section下拉任务栏小程序垂搜「发现小程序」打开小程序Other
WeChat1282Listen (audio) player听一听播放器打开小程序Other
WeChat1285“Discover Mini Programs” short drama collection发现页「发现小程序」短剧合集打开小程序Other
WeChat1286Plain-text URL Scheme明文scheme打开小程序Other
WeChat1287Official account short drama patch公众号短剧贴片打开小程序Other
WeChat1292“Discover Mini Programs” POI detail page发现页「发现小程序」poi 详情页打开小程序Other
WeChat1293Short drama card “Following” page发现页短剧卡片追剧页打开小程序Other
WeChat1295Pull-down search “Discover Mini Programs” ad下拉任务栏小程序垂搜「发现小程序」广告打开小程序Other
WeChat1296Channels paid short drama bubble视频号付费短剧气泡打开小程序Other
WeChat1297Discover › Mini Programs › Search “Discover Mini Programs”发现-小程序-搜索「发现小程序」打开小程序Other
WeChat1298Collection opened from pull-down search “Discover Mini Programs”下拉任务栏小程序垂搜「发现小程序」打开的合集访问小程序Other
WeChat1299POI detail page from pull-down search “Discover Mini Programs”下拉任务栏小程序垂搜「发现小程序」poi 详情页打开小程序Other
WeChat1300Collection opened from Discover › Mini Programs › Search发现-小程序-搜索「发现小程序」打开的合集访问小程序Other
WeChat1301POI detail page from Discover › Mini Programs › Search发现-小程序-搜索「发现小程序」poi 详情页打开小程序Other
WeChat1302PC panel “Discover Mini Programs”PC端面板「发现小程序」Other
WeChat1303Short drama card video feed发现页短剧卡片视频流打开小程序Other
WeChat1304Phone minus-one screen (e.g. OPPO)手机负一屏打开小程序(比如oppo手机)Other
WeChat1305Official account end-of-playback page公众号播放结束页打开小程序Other
WeChat1306Official account short drama episode entry公众号短剧固定选集入口打开小程序Other
WeChat1307Nearby services overseas section on the Discover page发现页附近服务境外专区打开小程序Other
WeChat1308PC panel mini games pagePC端面板小游戏专区页面Other
WeChat1311Mini game CPS card in an official account article公众号文章打开小游戏CPS卡片Other
WeChat1313PC OpenSDKPC OpenSDK打开小程序Other
WeChat1325Badge on a sticker message shared in chat-tool mode聊天工具模式分享的表情包消息角标打开小程序Other
WeChat1326Badge on a message shared in chat-tool mode聊天工具模式分享的角标打开小程序Other
WeChat1327Badge on a text message shared in chat-tool mode聊天工具模式分享的文本消息角标打开小程序Other
WeChat1328Hyperlink in a text message shared in chat-tool mode聊天工具模式分享的文本消息超链接打开小程序Other
WeChat1336WeChat Shop linking a membership小店打开小程序关联会员身份Other
WeChat1337WeChat Shop order confirmation using member benefits小店确认订单页跳小程序使用会员权益Other
WeChat1340Popular products on a mini program profile小程序profile-热门商品入口打开小程序Other
WeChat1346Mini program card shared via PC OpenSDKPC OpenSDK分享小程序卡片Other
WeChat1347“WeChat Games” chat plugin「微信游戏」聊天插件打开小游戏Other
WeChat1362Official mini game component小游戏官方组件Other
WeChat1363Discover › Mini Programs › Student deals section发现·小程序·大学生优惠专区Other
WeChat1373Mini game rating page小游戏评分页跳转Other
WeChat1374“Scan” message in Service Notifications服务通知中「扫一扫」消息打开小程序Other
WeChat1378Android download-complete system notification安卓下载完成的系统通知打开小程序Other
WeChat1379Xiaowei operating the mini program for the user小微帮用户操作小程序Other
WeChat1380Mini program card sent in Xiaowei小微中下发的小程序卡片Other
WeChat1387Rewarded video opening a playable mini game激励视频打开小游戏直玩Other
WeChat1397WeChat Pay merchant card微信支付商家名片打开小程序Other
WeChat1398Shake for deals coupon detail page摇优惠优惠券详情页打开小程序Other
WeChat1400PC WeChat Games centerPC微信游戏中心Other
WeChat1403Ad-free coupon list免广告券列表跳转至小程序Other
WeChat1408Content shared to a Yuanbao contact, parsed in the background小程序内容分享给元宝联系人,后台启动小程序进行解析Other
WeChat1409PC mini game extensionPC小游戏扩展片打开小游戏Other
WeChat1426Image post published by an official account公众号发表的贴图打开小程序Other
WeChat1427Official account text post公众号文字打开小程序Other
WeChat1428Mini game IAA game entry小游戏IAA相关游戏入口Other
WeChat1429Official account audio公众号音频打开小程序Other
WeChat1430Related services on the WeChat location page微信位置页相关服务打开小程序Other
WeChat1432Image 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.

Runs entirely in your browser. Nothing you type here is uploaded or stored by TapCub.

Version v1.0Updated Update history

Read the result

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.

How to use it

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. 1

    Look up a number

    Type the code you saw in options.scene or a report. Paste several at once to read a whole report column.

  2. 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. 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.

Grouping rules

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
TapCub groups with typical codes
GroupWeChatAlipayDouyin
Scan1011, 1012, 1013, 1047, 1048, 10491011021002, 101002, 011007
Share / social1007, 1008, 10441007024xxx, 104xxx, 014xxx
Search1005, 1006, 10531005022xxx, 012xxx, 062xxx
Ads / promo slots1045, 1046, 1067, 1095—025001, 016001, most 026xxx
Mini program / official account1035, 1037, 1038, 1058, 10741020, 1037, 1038xx1009, xx1010
Recent / favorites1089, 1103, 11041002, 1090011004, 061001, 061004
Worked example

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.

Top scene values in one week (WeChat)
SceneOfficial meaningTapCub groupWhat it says
1047Scan a mini program codeScanPeople scanning the table cards with the camera
1048Long-press an image to scan a mini program codeScanThe card image forwarded in chats and long-pressed
1008Mini program card in a group chatShare / socialThe coupon page shared in customer groups
1044Mini program card with shareTicketShare / socialGroup shares where the app asked for shareTicket
1089Pull down on the chat list, recently usedRecent / favoritesReturning 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.

Common mistakes

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.

FAQ

Mini 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.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · 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

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics