Remove analytics events for load shared/unshared
This is now tracked server-side
This commit is contained in:
1 file changed
-3
@@ -5,7 +5,6 @@ import log from './log';
|
||||
|
||||
import {setProjectTitle} from '../reducers/project-title';
|
||||
import {setAuthor, setDescription} from '../reducers/tw';
|
||||
import analytics from './analytics';
|
||||
|
||||
const API_URL = 'https://trampoline.turbowarp.org/proxy/projects/$id';
|
||||
|
||||
@@ -56,10 +55,8 @@ const TWProjectMetaFetcherHOC = function (WrappedComponent) {
|
||||
if (instructions || credits) {
|
||||
this.props.onSetDescription(instructions, credits);
|
||||
}
|
||||
analytics.twEvent('Load Shared');
|
||||
})
|
||||
.catch(err => {
|
||||
analytics.twEvent('Load Unshared');
|
||||
log.warn('cannot fetch project meta', err);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user