We'll create fresh WordPress site with Simplest Analytics installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Simplest Analytics tracks visits and unique users session based serverside without setting 3rd party cookies. It is also possible to track events and url paramaters. After
installing and activation the plugin it’s working without further configuration. If you want to set up custom tracking events or url parameters you can use the settings tab in
the WordPress backend.
It is working. No function overload. Track visits, unique users and custom events like clicks.
You can use this function to track further events in php hooks like form submissions, apply coupons, add to cart, etc:
$data = [];
$data[‘track_type’] = “event”; // event or pageview
$data[‘event_action’] = “yourevent”; // name of the event
simple_analytics_track_data($data); // function that saves the event
The charts are based on google-charts.js which only load in the admin backend. The data is stored in the database on the same server where your WordPress installation
is located.