Create 9387 - #693
Conversation
|
jmarrujo1991-lab please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
jmarrujo1991-lab please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Pull request overview
This PR adds a new top-level file (9387) containing a Wix/Fullstory “recorder” TypeScript module followed by an embedded HTML document that loads multiple third-party scripts and sets several window.__* globals.
Changes:
- Introduces a new module that wraps a
Fullstoryclient and exposes recorder-like functions (addLabel,withExperiments, etc.). - Embeds a full HTML page (including remote script tags) into the same file as the TypeScript code.
- Hard-codes several runtime globals, including values that appear to be user-identifying.
Suppressed comments (1)
9387:50
addCustomAttributeis declaredasyncand returnsPromise<void>, but it doesn'treturn/awaitthefullstory.event(...)call. This makes it impossible for callers to reliably await completion and can hide async failures.
export async function addCustomAttribute(
key: string,
value: string | string[],
): Promise<void> {
fullstory.event(GENERIC_EVENT_NAME, { [key]: value });
}
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
There was a problem hiding this comment.
microsoft-github-policy-service
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
| domain=assistance.aid.com | |||
| <!doctype html> | ||
| <html> | ||
| <head> | ||
| <title>Wix Site Creation | Wix.com</title> | ||
| <link type="image/png" href="https://www.wix.com/favicon.ico" rel="shortcut icon"> |
| window.__USER_ID__ = 'b3e617bc-e800-4198-8670-937149685b87'; | ||
| window.__USER_DISPLAY_NAME__ = 'Jazmyne Josephine'; | ||
| window.__USER_IMAGE__ = 'https://lh3.googleusercontent.com/a/ACg8ocKO7Cwru8Ct3FDhGnnssLsaujsAgwR7jZshQFjZOaZpnZlsAQ%3Ds96-c'; |
| export async function withExperiments(specs: { | ||
| [specKey: string]: string; | ||
| }): Promise<void> { | ||
| fullstory.event('Experiment', specs); | ||
| } |
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
| window.__ARTIFACT_VERSION__ = '1.2275.0'; | ||
| window.__SENTRY_DSN__ = 'https://b22e8eacef364954891949f17db822b2@sentry-next.wixpress.com/10465'; | ||
|
|
||
| window.__EXPERIMENTS__ = atob('eyJzcGVjcy5mdW5uZWwuQ2hhdEdlbmVyYXRlRG9uZU1lc3NhZ2UiOiJmYWxzZSIsImZ1bm5lbENoYXRMZWdhbEtlZXBlclNob3J0T3V0cHV0IjoiQSIsInByZW1pdW1Eb21haW5zRmxvd0luRnVubmVsIjoiQiIsInNwZWNzLmZ1bm5lbC5TZWN0b3JUb0FwcFYyIjoiZmFsc2UiLCJmdW5uZWxDaGF0U3VnZ2VzdGlvbnMiOiJBIiwiZnVubmVsQ2hhdEl0ZXJhdGlvbkF3YXJlSW5zaWdodHNFeHRyYWN0aW9uIjoiQSIsInNwZWNzLmZ1bm5lbC5kb21haW5XaWRnZXRHZXRJdERvbmUiOiJ0cnVlIiwic3BlY3MuZnVubmVsLkNoYXRTdHJlYW1pbmdSZXNwb25zZSI6InRydWUiLCJzcGVjcy5mdW5uZWwuZW5hYmxlTmV3SGFybW9ueURlc2lnbk1vYmlsZSI6InRydWUiLCJmdW5uZWxTZWN0b3JUb0FwcFYyIjoiQSIsInNwZWNzLmZ1bm5lbC5DaGF0TWVyZ2VFZGl0QXBwc0FuZERvbmUiOiJmYWxzZSIsImZ1bm5lbENoYXRKdXN0RXhwbG9yaW5nU2tpcEFiVHJhbnNsYXRlIjoiQSIsInNwZWNzLmZ1bm5lbC5lbmFibGVIYXJtb255UmVzdGF1cmFudHNPcmRlcnMiOiJ0cnVlIiwiZnVubmVsTmV3QnVzaW5lc3NEZXNjcmlwdGlvbi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FwcCI6ImZhbHNlIiwiZnVubmVsQ2hhdFN1Z2dlc3Rpb25zTW9iaWxlIjoiQSIsImNoYXRHb1RvSGFybW9ueVNraXBEYXNoYm9hcmRGVCI6IkEiLCJmdW5uZWxDaGF0TWVyZ2VFZGl0QXBwc0FuZERvbmVNb2JpbGUiOiJBIiwiZnVubmVsSW50cm9DaGF0Q2F0ZWdvcnlTdWdnZXN0aW9uc01vYmlsZSI6IkEiLCJmdW5uZWxJbnRyb0NoYXRDYXRlZ29yeVN1Z2dlc3Rpb25zRGVza3RvcCI6IkEiLCJmdW5uZWxDaGF0TW9iaWxlSGFybW9ueVVJVjMiOiJBIiwiZnVubmVsQ29udmVyc2F0aW9uUHJvbXB0VjEwIjoiQiIsImZ1bm5lbENoYXRHb1RvSGFybW9ueVNraXBEYXNoYm9hcmQiOiJBIiwiZnVubmVsQ2hhdE5ld1dlbGNvbWVTY3JlZW4iOiJBIiwiZnVubmVsQ2hhdEZlZWRiYWNrRm9ybSI6IkEiLCJmdW5uZWxDaGF0RG9tYWluV2lkZ2V0T25FYXJseUV4aXQiOiJBIiwic3BlY3MuZnVubmVsLmVuYWJsZU5ld0hhcm1vbnlEZXNpZ24iOiJ0cnVlIiwic3BlY3MuZnVubmVsLkJ1c2luZXNzVGVybVJhbmtpbmdQcm9tcHRWNC4yIjoidHJ1ZSIsImZ1bm5lbENoYXREb21haW5XaWRnZXRBbm90aGVyRG9tYWluIjoiQSIsInNwZWNzLmZ1bm5lbC5MYW5ndWFnZXNHZXRTdGFydGVkV2lkZ2V0S2V5c0FCVGVzdCI6ImZhbHNlIiwic3BlY3MuZnVubmVsLk1vYmlsZU5ld1N0YXJ0U2NyZWVuIjoidHJ1ZSIsImZ1bm5lbENoYXREb21haW5JblNpdGVQcm9maWxlIjoiQSIsInNwZWNzLm9kZWRpdG9yLnN0YXJ0UGFnZU5ld1VpIjoiZmFsc2UifQ==') |
Summary of the Pull Request
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
PR Checklist