# Installation
This plugin can be installed either through the Plugin Store or through Composer.
# Plugin Store
- 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.
# Composer
Open your terminal and go to your Craft project:
cd /path/to/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.