Connected Troubleshooting
BETA
Minimum Requirements
- The Branch Connected SDK requires native browser Javascript and has only been tested in Tizen and WebOS with sessionStorage capability. No 3rd party libraries are needed to make use of the SDK as is it 100% native Javascript.
Tizen | WebOS |
---|---|
2.3 | 6.0 |
Branch 初始化选项
- 您可以传递的属性
branch.initSession()
- Used for Initialize Branch features
Key | 值 | 类型 | 必要项 |
---|---|---|---|
advertising_ids | The current devices advertising id declared by the brand's corresponding key. Please refer to https://help.branch.io/developers-hub/docs/connected-basic-integration#advertising-id-index for more the key index. | {string:string} | Y for Ad Network Attribution N for Web Based Attribution |
branch_match_id | The current user's browser-fingerprint-id. The value of this parameter should be the same as the value of ?branch_match_id (automatically appended by Branch after a link click). _Only necessary if ?_branch_match_id is lost due to multiple redirects in your flow. | string | N |
retries | default: 2 | number | N |
retry_delay | expressed in milliseconds default: 200ms | number | N |
timeout | expressed in milliseconds default:5000ms | number | N |
tracking_disabled | default: false | boolean | N |
enableLogging | default: false | `boolean | N |
无访问控制错误
- Make sure the Branch key is the same within the deep link and app
XMLHttpRequest cannot load https://api2.branch.io/v1/open. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 400.
浏览器指纹 ID
- 如果您需要访问用户的浏览器指纹 ID 来删除用户,请使用以下功能。
branch.getBrowserFingerprintId(function(err, data) { console.log(data); });
Updated 3 months ago