Invoked by the server-side tracker right before saving a pageview into the database. 

do_action( 'slimstat_track_pageview', self::$stat );


The $stat parameter contains all the columns to be saved in the database:

  • id
  • ip
  • other_ip
  • username
  • country
  • referer
  • resource
  • searchterms
  • plugins
  • notes
  • visit_id
  • server_latency
  • page_performance
  • browser
  • browser_version
  • browser_type
  • platform
  • language
  • user_agent
  • resolution
  • screen_width
  • screen_height
  • content_type
  • category
  • author
  • content_id
  • outbound_resource
  • dt