GA4 doesn't support 14-day active users, only daily, weekly, and monthly
Migrating away from deprecated assertObjectHasAttribute to assertObjectHasProperty
Fixes UI issues with FilterMenu.vue, MostVisitedPages.vue, ReferrerList.vue
Removes columns not available in GA4 from Tool.vue page
Testing
Following the instructions on the Spatie docs I created a project and configured Google Analytics Data API access. Then, I created a Google Analytics account for a local testing domain.
This PR adds support for GA4.
spatie/laravel-analytics
to 5.2.1Changes between 4.1.0 and 5.2.1
Comparing metrics: Google Analytics 4 vs. Universal Analytics Comparing metrics
Universal Analytics to Google Analytics 4 dimensions and metrics equivalence
Changes
Analytics
through the facade nowperformQuery
has been renamed toget
ga:pageviews
=>screenPageViews
ga:year
=>year
ga:users
=>totalUsers
ga:1dayUsers
=>active1dayUsers
ga:7dayUsers
=>active7dayUsers
ga:28dayUsers
=>active28dayUsers
ga:sessions
=>sessions
ga:avgSessionDuration
=>averageSessionDuration
ga:pageTitle
=>pageTitle
ga:hostname
=>hostName
ga:pagePath
=>pagePath
ga:fullReferrer
=>pageReferrer
ga:country
=>country
pageViews
=>screenPageViews
FourteenDayActiveUsersMetric
assertObjectHasAttribute
toassertObjectHasProperty
FilterMenu.vue
,MostVisitedPages.vue
,ReferrerList.vue
Tool.vue
pageTesting
Following the instructions on the Spatie docs I created a project and configured Google Analytics Data API access. Then, I created a Google Analytics account for a local testing domain.
Closes #54 Closes #53 Closes #49