• Olivia

    18 June 2023 at 1:13 pm

    The error might be due to the unavailability of the function google_analytics_4_properties() as part of the googleAnalyticsR package which you’re likely using. This package supports Universal Analytics. For GA4, you may need to access the Google API directly with the googleAuthR 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.