Support » Plugin: Google Analytics Top Content Widget » Not support Google Analytics for WordPress 7.0.0

  • This plugin not support Google Analytics for WordPress 7.0.0 (google.php delete)

    PHP Warning: require_once(/home/s/***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/google.php): failed to open stream: No such file or directory in /home/s/***/***/public_html/wp-content/plugins/google-analytics-top-posts-widget/includes/class-ga-top-content.php on line 669

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Justin Sternberg

    (@jtsternberg)

    I’m looking into this. The 7.0.0 version of Google Analytics for WordPress brought with it sweeping changes that will require some collaboration on our parts, or the need to retire the development of this plugin.

    Plugin Author Justin Sternberg

    (@jtsternberg)

    Update to 1.7.3 of this plugin to remove the fatal errors. Follow along for a future fix here https://github.com/jtsternberg/Google-Analytics-Top-Content-Widget/issues/25

    Thread Starter seregawaw

    (@seregawaw)

    Unfortunately, the new version does not work correctly, attendance does not significantly coincide with the data of Google Analytics

    Thread Starter seregawaw

    (@seregawaw)

    Fix. Commented out the line google-analytics-top-posts-widget\includes\class-ga-top-content.php line 552

    // $link_uri = function_exists( 'mb_substr' ) ? mb_substr( $link_uri, -20 ) : substr( $link_uri, -20 );

    you do not need to use the truncated URL in the

    $filters = sprintf( 'ga:pagePath=~%s.*', $link_uri );

    Hi Guys,

    IS there any update on this?

    I tried your fix @seregawaw and unfortunately it didn’t work. The widget still shows up as blank on our website manofmany.com

    Thread Starter seregawaw

    (@seregawaw)

    I returned to v1.7.2 and old Google Analytics for WordPress and made changes to the plugin.

    v1.7.3 THIS IS NOT A FIX, but rather a temporary measure to fix fatal errors on the front-end of your site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not support Google Analytics for WordPress 7.0.0’ is closed to new replies.