Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Obtaining GA4 Account and Property Information › Reply To: Obtaining GA4 Account and Property Information
-
The error might be due to the unavailability of the function
google_analytics_4_properties()
as part of thegoogleAnalyticsR
package which you’re likely using. This package supports Universal Analytics. For GA4, you may need to access the Google API directly with thegoogleAuthR
or another package. It’s also possible that you have to set up a new project in the Google Cloud Console, enable the Google Analytics Data API and make sure the ID you’re using has proper access to the GA4 property. It would also help to check the exact error message you’re receiving for more information about the issue. A more specific error message might enable you to troubleshoot the issue accurately.