Skip to content

Commit ecf0539

Browse files
author
shengyonggen
committed
Release 1.18.2
1 parent 0177aad commit ecf0539

File tree

25 files changed

+201
-31
lines changed

25 files changed

+201
-31
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.18.2(2022-11-18)
2+
1. 新增
3+
- 新增支持非对称加密框架插件
4+
- 支持关闭数据采集
5+
16
## 1.18.1(2022-10-26)
27
1. 新增
38
- 插件化重构

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
## License
4444

45-
Copyright 2015-2021 Sensors Data Inc.
45+
Copyright 2015-2022 Sensors Data Inc.
4646

4747
Licensed under the Apache License, Version 2.0 (the "License");
4848
you may not use this file except in compliance with the License.
@@ -54,4 +54,4 @@ Unless required by applicable law or agreed to in writing, software
5454
distributed under the License is distributed on an "AS IS" BASIS,
5555
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5656
See the License for the specific language governing permissions and
57-
limitations under the License.
57+
limitations under the License.

dist/wechat/plugin/abtesting-sdk-miniprogram/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.11(2022-11-15)
2+
1. 新增
3+
- 支持自定义属性
4+
15
## 0.0.10(2022-10-12)
26
1. 新增
37
- `$ABTestTrigger` 触发逻辑优化

dist/wechat/plugin/abtesting-sdk-miniprogram/alipay/abtest.cmd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wechat/plugin/abtesting-sdk-miniprogram/alipay/abtest.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wechat/plugin/abtesting-sdk-miniprogram/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ab-sdk-miniprogram",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"description": "神策小程序 A/B Testing SDk",
55
"main": "",
66
"scripts": {

dist/wechat/plugin/abtesting-sdk-miniprogram/quickapp/abtest.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wechat/plugin/abtesting-sdk-miniprogram/wechat/abtest.cmd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wechat/plugin/abtesting-sdk-miniprogram/wechat/abtest.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wechat/plugin/ad-channel-h5-linker/readme.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,24 @@
66

77
## API
88
```javascript
9-
import adChannelH5Linker from 'index.esm.js'
9+
import adChannelH5Linker from '/dist/wechat/plugin/ad-channel-h5-linker/index.esm.js'
1010
sensors.usePlugin(adChannelH5Linker, option);
1111
var new_url = adChannelH5Linker.addChannelInfoToUrl(url, after_hash);
1212

1313
```
1414
* `url`: webview 需要加载的 url。类型:`String`。<span style="color:red"> 必填 </span>
1515
* `after_hash`: 新增的参数是否放在在 `url``hash` 之后。默认:`false`,放在 query 中,hash 前。可选
1616

17+
## 相关插件的使用场景差异
18+
| 编号| 场景说明| 需要用到的小程序插件 |需要用到的 Web 配套插件 |
19+
| ------| ------ | ------ | ------ |
20+
|1|推 SAT 小程序,并且小程序内的 webview 网页不需要做渠道和用户的打通,请优先使用该方案。 | ad-channel | 不需要 |
21+
|2|推 SAT 小程序,并且希望支持小程序内的 webview 网页的用户关联和 SAT 渠道打通,使用该方案| ad-channel-h5-linker | wechat-webview-channel |
22+
|3|非 SAT 的渠道场景,只是实现小程序和 webview 网页的用户关联| h5-linker | site-linker |
23+
24+
### ⚠ 注意:
25+
* 2 和 1,以及 2 和 3 是互斥的,因为 2 包含了 1 和 3 的部分功能(例如 3 会去解析 webview 的 URL 参数,并做用户关联。2 也会做这些操作,所以同时使用会导致冲突),所以不要同时使用。
26+
* 2 不能完全替代 1,以及 2 也不能完全替代 3 。因为 2 虽然有 1 和 3 的大部分功能,但是 2 会多加的 mp 和 appid ( 在 1 中会增加多余的属性进行上报,在 3 中会新增多余的 URL 参数进行传递,另外有一些逻辑处理也是不一致的 ),这对 1 和 3 的场景没有用处,且强行套用有可能会引发异常。
27+
* 总结:请根据当前的需求先去适配上面表格中的场景,然后使用表格提供的相应方案。
28+
1729

18-
## ⚠ 注意:
19-
* 不能和 ad-channel 插件共同使用。一般情况下不做 webview 归因打通时候,使用 ad-channel 即可
20-
* 不能和 h5-linker 插件共同使用。一般情况单纯做小程序和 H5 的话,使用 h5-linker 即可
21-
* 该插件已经包含上面两个插件的功能,且仅在 SAT + 小程序内嵌 H5 归因打通 的场景下使用

0 commit comments

Comments
 (0)