Ginsights Statamic Plugin

 

Ginsights is a Statamic plugin that provides an insight into Google Analytics data within the statamic dashboard. The plugin is easy to install in a website that is running a Statamic content management system.

The plugin integrates itself to the dashboard, where the user can review the traffic on various parameters. 

  1. Session and Pageviews
  2. Top Devices
  3. New Vs. Returning Visitors
  4. Most Visited Pages
  5. Top Referrals

How to Install

 

Installation is simple. You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

BASH
composer require analytics/gaddon

Add the widgets to config/statamic/cp.php

PHP
[
    'type' => 'dashboard',
    'days' => 30
    'width' => 100,
],

 

Authenticate Google Analytics  with GInsights

After installing the GInsights plugin a widget will be displayed on the statamic dashboard, Click on the “Click here” button to authorize your analytics account.

 

 

You will now be taken to a screen that will let you pick which Google Account you want to sign in with. Make sure to sign in to the account that you used to make your Google Analytics property.

Next, click the Allow button to give GInsights access to your Google Analytics data.

 

In the dropdown, find your website and then click on  Submit button to view Analytics data.

GInsights Screenshots