Skip to content

Commit

Permalink
Add calypso prefix, and switch store location stat to use our bumpStat
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshreve committed Jan 24, 2018
1 parent 7fab50d commit 71937b7
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ import {
getStoreLocation,
} from 'woocommerce/state/sites/settings/general/selectors';
import BasicWidget from 'woocommerce/components/basic-widget';
import { bumpStat } from 'state/analytics/actions';
import { bumpStat } from 'woocommerce/lib/analytics';
import { errorNotice } from 'state/notices/actions';
import { getContactDetailsCache } from 'state/selectors';
import {
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ const productSuccess = ( actionList, type ) => (
updatedProductIds,
};

dispatch( bumpStat( 'wpcom-store-products', type ) );
dispatch( bumpStat( 'wpcom-store-products', type + '-calypso' ) );
dispatch( actionListStepSuccess( newActionList ) );
};

0 comments on commit 71937b7

Please sign in to comment.