modera / backend-google-analytics-bundle
Provides support for gathering 'pageview' analytics in backend using Google Analytics.
Installs: 36 761
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.4
- modera/config-bundle: ^3.1|^4.0|^5.0
- modera/foundation-bundle: ^3.1|^4.0|^5.0
- modera/mjr-integration-bundle: ^3.1|^4.0|^5.0
- modera/security-bundle: ^3.1|^4.0|^5.0
- sergeil/expander-bundle: ^1.0
Requires (Dev)
- phake/phake: ^2.0
- phpunit/phpunit: ^5.5
- symfony/symfony: ^4.4|^5.0
README
Provides support for gathering 'pageview' analytics in backend using Google Analytics.
Installation
Add a dependency to your composer.json by running:
composer require modera/backend-google-analytics-bundle
You don't have to manually update your AppKernel class if you have modera/module-bundle
bundle installed already, otherwise
you need to add this to your AppKernel:
new \Modera\BackendGoogleAnalyticsBundle\ModeraBackendGoogleAnalyticsBundle(),
After bundle has been enabled to make sure that contributed configuration properties are installed run this command:
modera:config:install-config-entries
When this command is executed you will either see that some configuration property(properties) were installed or no configuration properties were installed, in latter case it means that they were automatically installed by module-bundle for you during bundle installation process.
Documentation
If you want to have a UI to access configuration properties contributed by this bundle then you may also want
to install modera/backend-google-analytics-config-bundle
bundle.
Application related data
Your kernel class (app/AppKernel.php) might additionally implement two methods: getAppName, getAppVersion which then will be used by \Modera\BackendGoogleAnalyticsBundle\Contributions\ConfigMergersProvider to send more detailed data to GA.
Licensing
This bundle is under the MIT license. See the complete license in the bundle: Resources/meta/LICENSE