Actions
Run your own code when SlimStat records a pageview, or declines to.
| Action | What it does |
|---|---|
| slimstat_track_exit_102 | Triggered when the JavaScript tracker receives data from the browser that is not correctly formatted, so the pageview is not recorded. |
| slimstat_track_exit_103 | Triggered when the JavaScript tracker sends a control code, or nonce, that does not match the expected value for the data. |
| slimstat_track_exit_212 | Fires when a pageview is discarded because the browser is blacklisted, passing both the pageview details and the browser details for inspection. |
| slimstat_track_pageview | Fires from the server-side tracker immediately before a pageview is written to the database, giving you the record as it is about to be saved. |
| slimstat_track_success | Fires after WP SlimStat has successfully recorded a new event, so your own code can react to a tracked visit. |