Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 908b7a1

Browse files
committed
fix: add application to trackjs
1 parent 5edc958 commit 908b7a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/theme/Root.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ type TRootProps = {
1414
};
1515

1616
if (siteConfig.customFields.trackJsToken) {
17-
TrackJS.install({ token: siteConfig.customFields.trackJsToken.toString() });
17+
TrackJS.install({
18+
application: 'api.deriv.com',
19+
token: siteConfig.customFields.trackJsToken.toString(),
20+
});
1821
} else {
1922
console.warn('trackjs is not installed due to a missing token');
2023
}

0 commit comments

Comments
 (0)