https://wp-slimstat.com/resources/how-to-call-the-slimstat-tracker-from-an-external-function/
Calling wp_slimstat::slimtrack() does not work anymore, I followed the API changes and called \SlimStat\Tracker\Tracker::slimtrack() which also does not work. I use it to track my redirects to a payment page.