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

Commit 6b46401

Browse files
Merge pull request #294 from markwylde-deriv/add-application-to-trackjs
fix: add application to trackjs
2 parents 4ef84c4 + 908b7a1 commit 6b46401

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)