izicloud / contao-form-analytics
Privacy-friendly form submission statistics and analytics for Contao.
Package info
github.com/izicloud/contao-form-analytics
Type:contao-bundle
pkg:composer/izicloud/contao-form-analytics
Requires
- php: ^8.1
- contao/core-bundle: ^5.3
- doctrine/dbal: ^3.6 || ^4.0
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/yaml: ^6.4 || ^7.0
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
Privacy-friendly form submission statistics for Contao 5.
Contao Form Analytics records successful submissions from native Contao forms and provides an analytics dashboard in the Contao back end.
No submitted form values, names, email addresses or IP addresses are stored.
Features
- Counts successful native Contao form submissions
- Does not count forms with validation errors
- Dashboard in the Contao back end
- Statistics for:
- Today
- Current month
- Last 7 days
- Last 30 days
- All time
- Statistics grouped by form, website and page
- Detailed submission list with filtering, sorting and search
- CSV export for the selected period
- Supports multiple root pages and websites
- German and English translations
- Privacy-friendly by design
Requirements
- PHP 8.1 or newer
- Contao 5.3 or newer
Installation
Install the bundle with Composer:
composer require izicloud/contao-form-analytics
Then run the Contao migrations:
php vendor/bin/contao-console contao:migrate
Alternatively, use the database migration in the Contao Manager.
Usage
After installation, open:
Content → Form analytics
The dashboard displays the total number of successful submissions and statistics for the selected period.
Use Show all submissions to open the detailed list.
Use Export CSV to export the submissions from the currently selected period.
Stored data
For each successful form submission, the extension stores only:
- Form ID
- Form title
- Form alias
- Page ID
- Page title
- Page alias
- Root page ID
- Root page title
- Submission timestamp
The extension does not store:
- Submitted form values
- Names
- Email addresses
- Messages
- Uploaded files
- IP addresses
- User agent information
Existing submissions
The extension starts collecting statistics after installation. Previous form submissions cannot be reconstructed automatically.
Native Contao forms
The initial release supports forms created with the native Contao form generator.
Optional support for Notification Center is planned for a future release.
CSV export
CSV files use:
- UTF-8 encoding with BOM
- Semicolon separators
- Spreadsheet formula injection protection
License
This bundle is licensed under the MIT License.
Support and development
Developed by izicloud Ltd..