Back to Actions

Updated on Jun 08, 2024


This action is triggered when a pageview is not recorded because the browser is blacklisted. It provides two arrays: one with the pageview details and one with the browser details.

do_action('slimstat_track_exit_212, self::$stat, $browser);

The action passes two pieces of information:

  • self::$stat: An array containing details about the pageview that was not tracked.
  • $browser: An array containing information about the visitor’s browser.

In simpler terms, this code tells other parts of the plugin or theme that a pageview wasn’t tracked because the visitor’s browser is blocked, and it provides data about both the pageview and the browser. This can be useful for monitoring or customizing the plugin’s behavior.