donfelice / analyticsbundle
The Analytics Bundle is an eZ Platform 2 bundle providing a basic views for Google Analytics in the admin interface.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:ezplatform-bundle
Requires
- php: ^7.1
- ezsystems/ezplatform-admin-ui: ^1.0@dev
- ezsystems/ezplatform-admin-ui-assets: ^1.0@dev
- ezsystems/ezplatform-admin-ui-modules: ^1.0@dev
- ezsystems/ezpublish-kernel: ^7.0@dev
This package is not auto-updated.
Last update: 2024-11-15 21:39:35 UTC
README
The Analytics Bundle for eZ Platform 2 provides a basic interface for Google Analytics in the admin. The bundle uses the Google Embed API (See https://ga-dev-tools.appspot.com/embed-api/).
Installation
Use Composer
Run the following from your website root folder to install Analytics Bundle:
$ composer require donfelice/analyticsbundle
Activate the bundle
Activate the bundle in app/AppKernel.php file by adding it to the $bundles array in registerBundles method, together with other required bundles:
public function registerBundles() { ... $bundles[] = new Donfelice\AnalyticsBundle\DonfeliceAnalyticsBundle(); return $bundles; }
Assetic configuration
You need to add it to Assetic configuration in app/config/config.yml, together with EzPlatformAdminUiBundle and all other bundles already configured there:
assetic:
bundles: [EzPlatformAdminUiBundle, DonfeliceAnalyticsBundle]
Rename and update if needed the EventListener/MyAdminUIMenuListener.php.dist file.