Please open this page in the Admin panel only – WP website

If you have updated yourGoogle Analytics plugin from version 2.0.5 to 2.1 in last few days that now you cannot access or view your WordPress website. You are getting one line message on your site that says:

Please open this page in the Admin panel only

This is caused by the code in the plugin

function __construct() {
    if( !is_admin() ){
        die( "Please open this page in the Admin panel only." );
    }
}

You can now fix this –  run update for the Google Analytics plugin – it has new update and will fix this problem for you. The latest version of Google Analytics Dashboard plugin is 2.1.1.