Skip to content
SlimStat
  • Features
    • Free FeaturesTraffic, sources, store sales and clicks
    • Pro FeaturesHeatmaps, all campaigns and email reports
    • WooCommerceSales by channel, source and product
  • Pricing
  • Solutions
    • WooCommerce storesSee which marketing brought the order
    • Service businessesTest and understand inquiry goals
    • AgenciesSchedule useful client reports
  • Documents
  • Support
  • Account
Get PRO Log In
  1. Home
  2. Documentation
  3. Functions and API
SlimStat documentation

Functions and API

For developers: read stored analytics from a theme or plugin and create custom reports.

SlimStat Database Tables and Columns Reference

Understand SlimStat 6 database tables, new identity columns, migrations and external database connections.

Adding Custom Reports to WP Slimstat

Add your own report to the SlimStat dashboard: register it, query the data you need, and render it alongside the built-in reports.

How to Use the Slimstat Tracker in External PHP Scripts

Call the SlimStat tracker from custom PHP inside a loaded WordPress environment.

Database API Methods

The methods SlimStat exposes for reading its tables from your own plugin or theme, so you can process the numbers before you display them anywhere.

Retrieving and Processing Data from the Database with PHP

When a shortcode is not flexible enough, SlimStat's API functions let you query and process the stats yourself before outputting them.

How to Get the Usernames of Visitors to a Specific Page

Query recorded usernames for a page with SlimStat’s PHP database API.

Creating Your First SlimStat Add-on

SlimStat add-ons are ordinary WordPress plugins that extend the reports.

← All documentation

SlimStat

Understand your visitors and choose what to improve next. Reports inside WordPress, with analytics stored on your server.

Product

  • Pro Features
  • Pricing
  • WooCommerce Analytics
  • Changelog

Resources

  • Documentation
  • Support
  • Blog
  • About
  • Affiliate program
  • Contact

See what happens beyond the visit

Find missed clicks, explore the steps toward a sale and send reports to your team.

Explore SlimStat Pro

Or install SlimStat Free

©SlimStat 2026. All rights reserved Tornimäe 5, Tallinn, Estonia

Privacy Policy 日本語

A product by VeronaLabs