sunnysideup / google-analytics-pdf-downloads
Measure directly accessed PDF Downloads assets through Google Analytics .
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Scheme
Type:silverstripe-vendormodule
Requires
- silverstripe/admin: ^2.0
- silverstripe/framework: ^5.0
Requires (Dev)
- phpstan/extension-installer: ^1.3
- phpunit/phpunit: ^9.6
- silverleague/ideannotator: *
- silverstripe/standards: ^1
- squizlabs/php_codesniffer: ^3.7
- sunnysideup/sswebpack_engine_only: dev-master
This package is auto-updated.
Last update: 2024-12-07 20:33:32 UTC
README
Documentation
This module is not compatible with other modules that overwrite the assets/.htaccess file.
After installing, add your google analytics code to your yml config like so:
--- Name: pdf_analytics --- Sunnysideup\GAPDFDownloads\PDFDownloadController: analytics_code: 'G-0000000'
Requirements
See composer.json for details.
Suggested modules
See composer.json for details.
Installation
composer require sunnysideup/google-analytics-pdf-downloads
Configuration
In the _config
folder you will find the google-analytics-pdf-downloads.yml.example
file that shows options for the configuration of this module.
We recommend that you:
- copy these
google-analytics-pdf-downloads.yml.example
files into yourapp/_config
folder (where available - otherwise search forprivate static $
in the module to see what can be configured) - remove the .example extension,
- delete the lines you do not care about, and
- adjust the configurations that you would like to use.
Contributing
We welcome any contributions. See CONTRIBUTING.md for more details.
Paid assistance
You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: www.sunnysideup.co.nz. For example, we can write tests for this module.
Author
Sunny Side Up Ltd.
Looking for Silverstripe Modules?
To find other modules, please visit ssmods.com.