@@ -441,36 +441,6 @@ const uploadAllFilesEpic = (actions, state) =>
441441 } )
442442 ) ;
443443
444- const loggingEpic = ( actions , state ) =>
445- actions . pipe (
446- tap ( ( action ) => {
447- // ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
448- switch ( action . type ) {
449- case "CONCENTS_TO_NSFW" :
450- case "DOES_NOT_CONCENT_TO_NSFW" :
451- case "CLOSE_UPLOAD_FILES" :
452- case "GOT_FILE_MD5" :
453- case "ARCHIVED_SKIN" :
454- case "TRY_TO_UPLOAD_FILE" :
455- case "UPLOAD_FAILED" :
456- case "STARTING_FILE_UPLOAD" :
457- case "TRY_TO_UPLOAD_ALL_FILES" :
458- case "INVALID_FILE_EXTENSION" :
459- case "GOT_FILE" :
460- case "GOT_MISSING_AND_FOUND_MD5S" :
461- case "REQUESTED_RANDOM_SKIN" :
462- case "MARK_NSFW" :
463- case "INVALID_ARCHIVE" :
464- case "SET_SCALE" :
465- window . ga ( "send" , "event" , "redux" , action . type ) ;
466- break ;
467- default : {
468- }
469- }
470- } ) ,
471- ignoreElements ( )
472- ) ;
473-
474444const urlEpic = ( actions , state ) => {
475445 return actions . pipe (
476446 map ( ( ) => Selectors . getUrl ( state . value ) ) ,
@@ -492,8 +462,6 @@ const urlEpic = (actions, state) => {
492462
493463 const newUrl = proposedUrl . toString ( ) ;
494464
495- window . ga ( "set" , "page" , newUrl ) ;
496-
497465 window . history . replaceState ( { } , Selectors . getPageTitle ( state ) , newUrl ) ;
498466 } ) ,
499467 ignoreElements ( )
@@ -573,7 +541,6 @@ export default combineEpics(
573541 uploadSingleFileEpic ,
574542 checkIfUploadsAreMissingEpic ,
575543 urlEpic ,
576- loggingEpic ,
577544 skinDataEpic ,
578545 markNsfwEpic ,
579546 alertEpic
0 commit comments