Saddle Analytics Settings
A reference for all five Saddle Analytics settings: cookies, which visit gets the credit, admin visits, how long data is kept, and uninstall.
Saddle Analytics has five settings, in two groups: Tracking and Data. This page explains each one and what changing it does.
Open the settings
- Go to Saddle → Analytics.
- Click the gear icon at the top of the page.
Only administrators can open this screen.
Save your changes
Settings do not save as you click. A bar appears that says “You have unsaved changes.” Click Save to keep them, or Discard to put back what was saved.
Tracking
Remember returning visitors
Off by default.
- Off: no cookies, and a visitor is recognised for the rest of the day.
- On: a first-party cookie recognises them for a year. In the EU and UK this usually needs consent.
With it on, two first-party, HTTP-only cookies are set: _saddle_analytics_v (a random id, 1 year) and _saddle_analytics_s (a random session id, 30 minutes). If you turn it off again, those cookies are expired the next time a browser sends them.
Credit a returning visitor to
Source reports show the first or the last click. Both are stored. This applies only when visitors are remembered.
first(default): the source of their first visit.last: the source of their latest visit.
This never changes stored data. It only decides which source the Channel, Referrer and Campaign tabs read, so you can switch back at any time.
Count logged-in admins
Off, so your own visits do not inflate the numbers. With it off, the tracker is not loaded for signed-in administrators.
Turn it on while you test, then turn it off again.
Data
Keep page views for (days)
90 by default. You can set any whole number from 7 to 1095, which is 3 years.
Older page views and crawler counts are deleted daily. Visitor totals are kept.
Delete all data on uninstall
Off by default. This one sits behind More settings.
With it on, deleting the plugin then drops its tables. With it off, your stats stay in the database after you delete the plugin.
Warning: once the plugin is deleted with this setting on, the data is gone. See How to Uninstall Saddle Analytics.
Change settings with WP-CLI
To see all current values:
wp saddle-analytics settings
To change one, use --set with one of these five keys:
wp saddle-analytics settings --set=remember_visitors=truewp saddle-analytics settings --set=attribution=lastwp saddle-analytics settings --set=track_admins=truewp saddle-analytics settings --set=retention_days=180wp saddle-analytics settings --set=delete_data_on_uninstall=true
Things that are not settings
- Do Not Track and Global Privacy Control. They are always honoured. Visitors who send either are not counted.
- IP addresses. They are never saved, so there is nothing to switch off.
- Sampling. Every counted visit is stored.
- Sharing with PlugPress. This is not on the settings screen. To stop it, click Stop sharing site info under the plugin on the Plugins screen. To remove the card and the deactivation form completely, add
define( 'PLUGPRESS_INSIGHT', false );towp-config.php.
Common problems
My change did not take effect
Check that you clicked Save. If the bar is not showing, nothing has changed yet.
I switched the credit to last and the Sources numbers moved
That is expected. Visitors moved between channels. Your totals stay the same. Switch back if you prefer.
The credit setting seems to do nothing
It applies only when Remember returning visitors is on. Without cookies, a visitor is known for one day.
Next steps
Confirm everything records in How to Test Saddle Analytics.