File size: 461 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Analytics: MC
Automatticians may refer to internal documentation for more information about MC.
## Usage
### `bumpStat( group, name )`
Bump a single WP.com stat:
```js
import { bumpStat } from 'calypso/lib/analytics/mc';
bumpStat( 'newdash_visits', 'sites' );
```
### `bumpStat( obj )`
Bump multiple WP.com stats:
```js
import { bumpStat } from 'calypso/lib/analytics/mc';
bumpStat( {
stat_name1: 'stat_value1',
statname2: 'stat_value2',
} );
```
|