diff --git a/ui/page/report/view.jsx b/ui/page/report/view.jsx index c7327ac44f..8dd62597ff 100644 --- a/ui/page/report/view.jsx +++ b/ui/page/report/view.jsx @@ -1,3 +1,4 @@ +import analytics from 'analytics'; import { doToast } from 'redux/actions/notifications'; import { FormField } from 'component/common/form'; import { Lbryio } from 'lbryinc'; @@ -33,6 +34,12 @@ class ReportPage extends React.Component { window.app.store.dispatch(action); }); + analytics.log(message.length > 80 ? `${message.slice(0, 80)}…` : message, { + level: 'info', + tags: { origin: '/$/report' }, + extra: { message: message }, + }); + this.setState({ message: '' }); }