This plugin can be installed either through the Plugin Store or through Composer.
- Go to Craft → Plugin Store and search for Analytics, then click Install.
- Then navigate to Settings → Analytics and follow the instructions to connect to Google Analytics.
Open your terminal and go to your Craft project:
Install the plugin via Composer:
composer require dukt/analytics
In the Control Panel, go to Settings → Plugins and click the “Install” button for Analytics.
Go to Settings → Analytics and follow the instructions to connect to Google Analytics.