Yii2 Google Analytics
Google Analytics tracking widget for Yii2 applications
Provides really easy adding Google Analytics tracking widget to a site. Even easier then adding a widget into a site layout.
Works by adding Behavior to the Application View. Behavior listens to EVENT_END_BODY and echos the counter script.
The preferred way to install this yii2-extension is through composer.
php composer.phar require "hiqdev/yii2-google-analytics"
to the require section of your composer.json.
This extension is supposed to be used with composer-config-plugin.
Else look src/config/web.php for cofiguration example.
Available configuration parameters:
For more details please see src/config/params.php.
Copyright © 2017, HiQDev (http://hiqdev.com/)