zealouswebcraftcms / smart-google-analytics

Other
1 stars 1 forks source link

Smart Google Analytics plugin for Craft CMS 3.x

This plugin provides access to a massive amount of data related to how users find and interact with your site. For example, you can see how many people visited a specific page, how much time they spent there, where your users live, how the specific keywords are performing, and so forth.

Requirements

The prerequisites for the Smart Google Analytics Plugin to function are:

  1. Craft CMS Version 3.1 to greater
  2. PHP Version 7.2.5 or greater

Installation

You can install this plugin either from the Plugin Store or with Composer.

# Go to the project directory
cd /path/to/my-project

# Command the composer to load the plugin
composer require zealouswebcraftcms/smart-google-analytics

# Command the craft to install the plugin
./craft install/plugin smart-google-analytics

Major features of the Plugin:

  1. Create multiple views or edit the existing ones.
  2. Remove unnecessary views.
  3. On the Analytics Dashboard Page, numerous charts will be displayed with the help of Widgets.

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

How to generate Client ID and Client Secret Key and Map API Keys:

Step 1 Create a Project in Google API Console Developers

  1. Sign-in to "Google's Developers Console."
  2. Go to the Google Developers Console and create a new project or use an existing one.
  3. To create a New Project, click on the dropdown on the right side of Google Cloud Platform; it gives you an option to create a New Project; click on ‘New Project’, then mention your project Name, organization and location and then 'Create'. To select your project, click on the dropdown on the right side of Google Cloud Platform, and choose your desired project.

Step 2 Activate the Google Analytics APIs

Step 3 Get Your API Keys To get your API Keys(via Client ID and Client Secret), you have to follow the below steps:

Select your Application Type

Step 4 Get Your Map API Keys

General Settings:

Client ID:

Client Secret:

Map API Key:

Usage

Add/Edit Views:

View List:

Delete View:

Analytics Dashboard Page: