- 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.
- Renamed views to sources.
- Disabled city support for the geo chart since latitude and longitude are not currently provided by the GA4 API.
- Changed
craftcms/cms
requirement to^4.0.0
. - Updated schema version to
2.0.0
. - Moved
schemaVersion
to plugin file. - Updated
league/oauth2-google
to4.0
. - Updated from webpack to Vite.
- 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.
- 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.
- Initial Craft CMS 4 compatibility.
- 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.
- 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.
- 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 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.
- Added environment variable suggestions support for the OAuth client ID and secret.
- The plugin’s icon has been updated.
- Improved OAuth configuration instructions.
- Updated
laravel-mix
to 6.0.16.
- Removed the trailing slash of the OAuth JavaScript origin URL.
- Added
GoogleChartsAsset
to handle Google Charts related resources. - Added
webpack
5.9 dependency.
- 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 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.
- 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.
- Fixed a bug where the plugin was unable to refresh an OAuth token.
- Fixed a bug where the horizontal axis’ ticks could be mixed with the ones from another widget for Area charts. (#16)
- Fixed an issue where
m180529_125418_info
migration was trying to use undefined settings. (#15)
- Replaced
dukt/oauth2-google
composer dependency withleague/oauth2-google
.
- 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)
- 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.
- Fixed a bug where pagination was not working for Table charts. (#9)
- Fixed the indentation of the template files.
- Added missing Craft 3 upgrade migration.
- 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.
- Fixed a bug where the Google Charts library was not loaded early enough, resulting in javascript errors.
- Fixed a bug where plugin info couldn’t be saved.
- Added E-commerce widget to display revenue and transactions data.
- Moved
forceConnect
andtoken
settings to a newanalytics_info
table. - Removed
forceConnect
config setting. - Removed
token
config setting.
- 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.
- Fixed a bug where saving a view was throwing an error. (#7)
- Updated google/apiclient to
^v2.1.3
. (#6)
- Removed unused
\dukt\analytics\services\Oauth::$token
. - Removed unused
\dukt\analytics\services\Analytics::$tracking
.
- 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)
- Added
craftcms/cms
as a composer dependency. - Added
demoMode
,enableRealtime
,mapsApiKey
,oauthClientId
,oauthClientSecret
andoauthProviderOptions
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.
- 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
apiKey
andfilters
config settings. - Removed
ins0/google-measurement-php-client
composer dependency.