The plugin allows track files downloads in specific site’s relative path by sending statistics to Google Analytics and the Local Database.
- Relative site path
It is useful to disable item without deleting the configuration.
- Use event label
Use statistics event label for that path. Doesn’t work if common statistics event label is disabled.
Type relative site’s path to monitor it’s files downloads.
Note: Choose path more precisely. Otherwise, it might degrade performance of downloading site’s elements.
- Files types
List of comma separated files extensions that only be included in monitor.
Note: There are system file types that always excluded from monitoring to prevent unstable site work: *.htaccess, *.php, *.js and *.css.
- Statistics event label
It is possible to use URL’s arguments as a statistics label. Label will be formed from a list of request’s arguments using the argument separator and the value delimiter.
Check to use it in all paths. Each path can enable it separately.
- Argument separator
Separator between arguments.
- Argument value delimiter
Separator between argument’s name and value.
So e.g. for URL ‘http://yoursite.com/page?arg1=v1&arg2=v1’ in case of ‘Argument separator’ = ‘,’ and ‘Argument value delimiter’ = ‘:’ label will be ‘arg1:v1,arg2:v2’.
- Send mode
By default statistic sending is postponed to preserve site performance. If there is any trouble with WordPress’s scheduler (e.g. WP Cron is disabled or broken on your website) just set mode to ‘Immediately’.
Note: There is the alternative way how to setup WP Cron on your site.
If enabled, statistics will be sent to Google Analytics account by specified tracking ID as events with specified event category, URI as event action and URL arguments as event label if it is enabled in general settings.
Set this checkbox to enable statistics sending.
- Tracking ID
Tracking ID of the account. Type your Google Analytics’s tracking ID.
- Event category
Event category that will be seen in the events’ dashboard. Change event category if needed.
- Custom dimension for client ID
Custom dimension index to store client ID for debug purposes e.g. user’s IP. Optional.
If enabled, statistics will be written to the local database table with name ‘wp_seraph_dlstat’. Use any databese viewer or editor to see events. It is used generally for debug purposes only or if there is no any other way.
Set this checkbox to enable statistics writing.
Set this checkbox and all data will be erased. If ‘Enabled’ is unchecked ‘wp_seraph_dlstat’ table will be deleted as well.
There are a set of filters and actions to hook.
- WordPress 4.0 or higher.
- PHP 5.4 or higher.
- Browser (Google Chrome, Firefox, IE).