Action: wpa_save_stats_post

do_action( 'wpa_save_stats_post', int, array, int )

Run when a new statistic is recorded.

Parameters:
Name Type Description
int

$stat New post ID.

array

$stats Stats data sent via AJAX.

int

$post_ID Related post ID or false if a non-singular screen.

Source: