Track the source of the supportform

Summary: This diff adds the telemetry to track the source of the support form being launched.

Reviewed By: passy

Differential Revision: D17908752

fbshipit-source-id: 275812992884a471844fda40d1f636815a4a2346
This commit is contained in:
Pritesh Nandgaonkar
2019-10-15 04:12:36 -07:00
committed by Facebook Github Bot
parent d277e1da9e
commit 5614444380

View File

@@ -76,6 +76,7 @@ export default (store: Store, logger: Logger) => {
})
);
} else if (query === 'flipper://support-form?form=Litho') {
logger.track('usage', 'support-form-source', {source: 'deeplink'});
store.dispatch(setStaticView(SupportRequestFormManager));
}
const match = uriComponents(query);