Provides a basic set of analytics services, to choose within the site settings administration area.
Currently supported:
- GA4
- GA3
- GTM
- GTM (with CSP nonce support)
Developers can provide their own service by creating a class that implements the abstract service.
composer require nswdpc/silverstripe-analytics-chooser
Once installed, your theme will need to include the templates provided by this module:
<% include NSWDPC/AnalyticsChooser/Implementation %>
Apply an iframe if using GTM:
<% include NSWDPC/AnalyticsChooser/GTMIframe %>
You can override these templates in your project theme, in the usual Silverstripe way.
None, currently
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.