Private file download statistics and export the data configuration
Private file download statistics and export the data dashboard

This project is not covered by Drupal’s security advisory policy.

With the help of this module, you can track the private file downloaded by users with the latest time stamp and can export the data to CSV. Also, this module captures the following details for better statistics:

  • Node ID and Title
  • File ID and Name of the File
  • Users email with the latest time stamp
  • Number of times that file has been downloaded

With the above details, it generates reports per file and can manage the report data from the dashboard page.

BENEFITS

  1. Configurable Private File Fields
  2. This module allows site administrators to configure the private file field name in the back end, which helps track user details whenever users download the file from the same field.

  3. Integrated csv export ability
  4. The site administrators can use this configuration, where they can export only the required user available field information from the file statistics User can choose the tokens (user form field names)from the same page.

Post-Installation

CONFIGURATION

Go to /admin/private-files-statistics/config. Here you have two options where you MUST configure to Track the
downloads & Dashboard page

  1. Navigate to /admin/file-statistics/config and
  2. i) Enter the private file field to track: Please enter private file field name here to track downloaded users. ex: field_private
    ii) Enter user field names here to export: Please enter people field machine name here to export the values from users. If its
    empty, then export link will not appear in the Dashboard. ex:mail,field_firstname..etc

  3. Go to /admin/files/statistics Dashboard page. Here you have option to View / Delete / Export.
  4. i) View : Details view of File statistics
    ii) Delete : Delete the particular file statistics details
    iii) Export : Export the particular statistics into CSV along with Configured users fields.

NOTE:
Export User supports only with plain text fields value, will not work other than Text fields.
Downloads are NOT counted for the administrative user (user 1).
To enable downloads tracking, files must be stored in the private file system.
Follow this steps to setup Creating a Drupal 8 Private File System

More details, Please read README file.

Supporting organizations: 

Project information

Releases