Version 5.0.0

November 29, 2023

Added

  • Added support for Google Analytics 4 (GA4) properties.
  • Added Analytics as a CP section.
  • Added enable CP section, enable cache, cache duration, and Google Maps API key to the plugin’s settings.
  • Added flow to upgrade an Universal Analytics (UA) source to a Google Analytics 4 (GA4) source.

Changed

Fixed

  • Fixed a bug where the site query param was present in the OAuth redirect URI.
  • Fixed a bug where the chart would not get redrawn on window resize.

Version 5.0.0-beta.2

April 28, 2022

Fixed

  • Fixed a bug where the loading spinner was not showing up when the Report widget’s frontend was loading.
  • Fixed a bug in Report and E-commerce widgets where spinners were not showing up for loading submit buttons.
  • Fixed a bug where the Realtime report widget wasn’t working properly due to a javascript error.

Version 5.0.0-beta.1

April 6, 2022

Added

  • Initial Craft CMS 4 compatibility.

Version 4.0.15

March 30, 2022

Fixed

  • Fixed a bug where the report field was not including empty rows.
  • Fixed a bug where the report field’s chart was trying to show too many horizontal labels.

Version 4.0.14

February 2, 2022

Added

  • Added metrics: ga:28dayUsers, ga:uniqueEvents, ga:totalPublisherImpressions, ga:totalPublisherCoverage, ga:totalPublisherMonetizedPageviews, ga:totalPublisherImpressionsPerSession, ga:totalPublisherViewableImpressionsPercent, ga:totalPublisherClicks, ga:totalPublisherCTR, ga:totalPublisherRevenue, ga:totalPublisherRevenuePer1000Sessions, ga:totalPublisherECPM.
  • Added dimensions: ga:dateHourMinute, ga:dfpLineItemId, ga:dfpLineItemName, ga:experimentCombination, ga:experimentName.

Changed

  • Removed metrics: ga:correlationScore, ga:queryProductQuantity, ga:relatedProductQuantity.
  • Removed dimensions: ga:correlationModelId, ga:queryProductId, ga:queryProductName, ga:queryProductVariation, ga:relatedProductId, ga:relatedProductName, ga:relatedProductVariation.
  • Updated sass-loader to 12.4.0.

Fixed

  • Fixed a bug where dimensions and metrics were not being updated when changing the chart type of a new widget. (#30)
  • Fixed a bug where dimensions and metrics were not being properly populated for existing widgets.
  • Fixed a bug where the plugin couldn’t be uninstalled.
  • Fixed a bug where reports for the area chart wouldn’t include empty rows.

Version 4.0.13

April 14, 2021

Added

  • Added environment variable suggestions support for the OAuth client ID and secret.

Changed

  • The plugin’s icon has been updated.
  • Improved OAuth configuration instructions.
  • Updated laravel-mix to 6.0.16.

Fixed

  • Removed the trailing slash of the OAuth JavaScript origin URL.

Version 4.0.12

March 4, 2021

Added

  • Added GoogleChartsAsset to handle Google Charts related resources.
  • Added webpack 5.9 dependency.

Changed

  • Updated league/oauth2-client to 2.5.
  • Updated theiconic/php-ga-measurement-protocol to 2.8.
  • Updated google/apiclient to 2.6.
  • Updated sass-loader to 11.0.
  • Updated laravel-mix to 6.0.
  • Updated del to 6.0.
  • Updated sass to 1.32.

Fixed

  • Fixed currency formatting for Craft 3.6.
  • Fixed a bug where the environment variables were not being parsed OAuth options like client ID or secret.
  • Fixed a bug where the settings dropdown were masked by other widgets. (#28)
  • Fixed a bug where the report widget could try to refresh the CP dashboard grid that didn't exist.

Version 4.0.11

September 18, 2020

Fixed

  • Fixed the styles of the sidebar in the plugin's settings.
  • Fixed a bug where the report widget’s default title was not properly hidden.
  • Fixed a bug where geo charts were not loading.
  • Fixed a bug where charts were not getting redrawn when widgets size changed.
  • Fixed a bug where horizontal axis labels were blinking when changing the type of another report widget.
  • Fixed a bug where horizontal axis labels were not showing properly.
  • Fixed widget icons.

Version 4.0.10

January 9, 2020

Fixed

  • Fixed a bug where the plugin was unable to refresh an OAuth token.

Version 4.0.9

May 30, 2019

Fixed

  • Fixed a bug where the horizontal axis’ ticks could be mixed with the ones from another widget for Area charts. (#16)

Version 4.0.8

May 15, 2019

Fixed

  • Fixed an issue where m180529_125418_info migration was trying to use undefined settings. (#15)

Version 4.0.7

February 1, 2019

Changed

  • Replaced dukt/oauth2-google composer dependency with league/oauth2-google.

Version 4.0.6

February 1, 2019

Fixed

  • Fixed a bug where the plugin was not properly getting all accounts, properties, and views from Google Analytics. (#10)
  • Fixed a bug where the Report field was trying to get a data report for new elements. (#13)

Version 4.0.5

October 26, 2018

Fixed

  • Fixed a bug where it was not possible to create a new view in the plugin’s settings when the account explorer data was already cached.

Version 4.0.4

September 21, 2018

Fixed

  • Fixed a bug where pagination was not working for Table charts. (#9)
  • Fixed the indentation of the template files.

Version 4.0.3

September 10, 2018

Added

  • Added missing Craft 3 upgrade migration.

Changed

  • Improved exception handling for the Reports controller.
  • Updated google/apiclient dependency to ^v2.2.0.
  • Moved continent and subcontinent related methods to a new Geo service.
  • Added Craft 3 upgrade migration.

Version 4.0.2

June 27, 2018

Fixed

  • Fixed a bug where the Google Charts library was not loaded early enough, resulting in javascript errors.

Version 4.0.1

June 26, 2018

Fixed

  • Fixed a bug where plugin info couldn’t be saved.

Version 4.0.0

May 29, 2018

Added

  • Added E-commerce widget to display revenue and transactions data.

Changed

  • Moved forceConnect and token settings to a new analytics_info table.
  • Removed forceConnect config setting.
  • Removed token config setting.

Fixed

  • Fixed a bug where the Analytics asset bundle was getting registered even though the plugin was not installed.
  • Fixed a bug where the Realtime widget was trying to use the plugin instance even though the plugin was not installed.

Version 4.0.0-beta.4

May 24, 2018

Fixed

  • Fixed a bug where saving a view was throwing an error. (#7)

Version 4.0.0-beta.3

May 16, 2018

Changed

  • Updated google/apiclient to ^v2.1.3. (#6)

Version 4.0.0-beta.2

May 3, 2018

Changed

  • Removed unused \dukt\analytics\services\Oauth::$token.
  • Removed unused \dukt\analytics\services\Analytics::$tracking.

Fixed

  • Fixed a bug where realtime reporting was always showing one active user. (#1)
  • Fixed a bug where the URI used by report field could be wrong. (#2)

Version 4.0.0-beta.1

December 19, 2017

Added

  • Added craftcms/cms as a composer dependency.
  • Added demoMode, enableRealtime, mapsApiKey, oauthClientId, oauthClientSecret and oauthProviderOptions config settings.
  • Added dukt/oauth2-google as a composer dependency.
  • Added google/apiclient as a composer dependency.
  • Added league/oauth2-client as a composer dependency.
  • Added theiconic/php-ga-measurement-protocol as a composer dependency.
  • Added Craft 3 compatibility.
  • Added support for Analytics API v4.
  • Added support for multiple sites with the ability to setup multiple Google Analytics views, and to define one view per site.
  • It is now possible to create multiple instances of the Realtime widget.
  • Realtime widget now show “Pages per minute“ and “Active pages” informations.
  • Added Craft license.

Changed

  • Now using theiconic/php-ga-measurement-protocol for tracking.
  • Now using Gstatic loader instead of JSAPI loader.
  • Replaced Gulp with Laravel Mix + Webpack for building plugin resources.
  • Reworked \dukt\analytics\models\ReportRequestCriteria for Google Analytics API v4.
  • The plugin doesn’t require the OAuth plugin anymore.
  • Updated plugin icon.
  • Updated schema version to 1.1.0.

Removed

  • Removed apiKey and filters config settings.
  • Removed ins0/google-measurement-php-client composer dependency.