Google Analytics plus does not record any data

I have Google Analytics+ installed, but it does not record any data.
I see this in the error log
PHP Notice: Undefined index: anonymize_ip_force wp-content/plugins/google-analytics-async/google-analytics-async-files/page-settings.php on line 307

  • Dimitris
    • Support Star

    Hello there Tony,

    hope you're doing well today! :slight_smile:

    First I checked a testing site of mine that uses our Google Analytics+ plugin and I can see that the dashboard statistics are working good.

    Can you please let me know if visitors data are getting logged in the Google Analytics website?

    If so, then this should be some kind of conflict happening in the WP site. In order to narrow this down, could you please proceed with a conflict test? First, create a recent backup in case you lose any settings during the test and have to restore to a previous working state.
    Then deactivate all plugins and MU-plugins apart from Google Analytics+, activate a default theme like TwentySeventeen, clear all caches and check again if the issue is still there. If not, it means that something is conflicting, so start activating the remaining plugins and theme, one by one this time, checking every time for the reported issue, until you reproduce the issue, thus finding the conflicted combination. The following flowchart image can assist you during this test: https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif
    As long as this is a live website with traffic, I'd rather advise to create a staging environment, meaning a complete and exact copy of this installation into another location/folder in the same server, using a separate database, and perform the test in there instead without worrying about the live site.
    Reference: https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-2

    Looking forward for your feedback!
    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.