You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To lazy <a id="loading-snippet">load the Adjust Web SDK through CDN</a> paste th
37
37
38
38
The Adjust Web SDK should be loaded only once per page and it should be initiated once per page load.
39
39
40
-
When loading the sdk through CDN we suggest using minified version. You can target specific version like `https://cdn.adjust.com/adjust-5.2.1.min.js`, or you can target latest version `https://cdn.adjust.com/adjust-latest.min.js` if you want automatic updates without need to change the target file. The sdk files are cached so they are served as fast as possible, and the cache is refreshed every half an hour. If you want updates immediately make sure to target specific version.
40
+
When loading the sdk through CDN we suggest using minified version. You can target specific version like `https://cdn.adjust.com/adjust-5.3.0.min.js`, or you can target latest version `https://cdn.adjust.com/adjust-latest.min.js` if you want automatic updates without need to change the target file. The sdk files are cached so they are served as fast as possible, and the cache is refreshed every half an hour. If you want updates immediately make sure to target specific version.
41
41
42
42
It's also possible to install our sdk through NPM:
43
43
@@ -385,6 +385,36 @@ Example:
385
385
Adjust.disableThirdPartySharing();
386
386
```
387
387
388
+
## <aid="getters-web-uuid">Get `web_uuid`</a>
389
+
390
+
To identify unique web users in Adjust, Web SDK generates an ID known as `web_uuid` whenever it tracks first session. The ID is created per subdomain and per browser.
391
+
The identifier follows the Universally Unique Identifier (UUID) format.
import { type InitOptionsT, type LogOptionsT, type EventParamsT, type GlobalParamsT, type CustomErrorT, type ActivityStateMapT, type SmartBannerOptionsT } from './types';*/
11536
-
11537
-
11538
-
11539
-
11540
-
11541
-
11542
-
11543
-
11544
-
11545
-
11546
-
11547
-
11548
-
11549
-
11550
-
11551
-
11552
-
11553
-
11562
+
import { type InitOptionsT, type LogOptionsT, type EventParamsT, type GlobalParamsT, type CustomErrorT, type ActivityStateMapT, type SmartBannerOptionsT, type AttributionMapT } from './types';*/
11554
11563
11555
11564
11556
11565
@@ -11635,6 +11644,34 @@ function initSdk()
11635
11644
_start(options);
11636
11645
});
11637
11646
}
11647
+
/**
11648
+
* Get user's current attribution information
11649
+
*
11650
+
* @returns {AttributionMapT|undefined} current attribution information if available or `undefined` otherwise
11651
+
*/
11652
+
11653
+
11654
+
functionmain_getAttribution()
11655
+
/*: ?AttributionMapT*/
11656
+
{
11657
+
return_preCheck('get attribution',function(){
11658
+
returnactivity_state.getAttribution();
11659
+
});
11660
+
}
11661
+
/**
11662
+
* Get `web_uuid` - a unique ID of user generated per subdomain and per browser
11663
+
*
11664
+
* @returns {string|undefined} `web_uuid` if available or `undefined` otherwise
11665
+
*/
11666
+
11667
+
11668
+
functionmain_getWebUUID()
11669
+
/*: ?string*/
11670
+
{
11671
+
return_preCheck('get web_uuid',function(){
11672
+
returnactivity_state.getWebUUID();
11673
+
});
11674
+
}
11638
11675
/**
11639
11676
* Track event with already initiated instance
11640
11677
*
@@ -12108,7 +12145,9 @@ function _preCheck(description
Copy file name to clipboardExpand all lines: docs/korean/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Adjust SDK는 CommonJS와 AMD 환경에서 작동하고 CDN을 통해 로딩될
38
38
39
39
Adjust 웹 SDK는 페이지당 한 번만 로딩되어야 하며 페이지 로딩당 한번만 초기화되어야 합니다.
40
40
41
-
CDN을 통해 SDK를 로딩할 때 축소 버전을 사용하는 것이 좋습니다. `https://cdn.adjust.com/adjust-5.2.1.min.js`와 같은 특정 버전을 타깃팅하거나 대상 파일을 변경할 필요 없이 자동 업데이트를 원하는 경우 최신 버전`https://cdn.adjust.com/adjust-latest.min.js`을 타깃팅 합니다. sdk 파일은 캐싱되어 최대한 빠르게 제공되며 30분 마다 캐시가 새로고침됩니다. 즉시 업데이트를 원하는 경우에는 특정 버전을 타깃팅해야 합니다.
41
+
CDN을 통해 SDK를 로딩할 때 축소 버전을 사용하는 것이 좋습니다. `https://cdn.adjust.com/adjust-5.3.0.min.js`와 같은 특정 버전을 타깃팅하거나 대상 파일을 변경할 필요 없이 자동 업데이트를 원하는 경우 최신 버전`https://cdn.adjust.com/adjust-latest.min.js`을 타깃팅 합니다. sdk 파일은 캐싱되어 최대한 빠르게 제공되며 30분 마다 캐시가 새로고침됩니다. 즉시 업데이트를 원하는 경우에는 특정 버전을 타깃팅해야 합니다.
0 commit comments