get_options(); $tracking_code = $options_class->get_tracking_code(); echo $yoast_ga_admin->content_head(); ?>

'; echo sprintf( __( 'We need you to authenticate with Google Analytics to use this functionality. If you set your UA-code manually, this won\'t work. You can %sauthenticate your Google Analytics profile here%s to enable dashboards.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } else if ( ! Yoast_Google_Analytics::get_instance()->has_refresh_token() ) { echo '

'; echo sprintf( __( 'Because we\'ve switched to a newer version of the Google Analytics API, you\'ll need to re-authenticate with Google Analytics. We\'re sorry for the inconvenience. You can %sre-authenticate your Google Analytics profile here%s.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } else { Yoast_GA_Dashboards_Display::get_instance()->display( 'general' ); } } else { echo '

'; echo sprintf( __( 'You have not yet finished setting up Google Analytics for Wordpress by Yoast. Please %sadd your Analytics profile here%s to enable tracking.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } ?>

'; echo sprintf( __( 'We need you to authenticate with Google Analytics to use this functionality. If you set your UA-code manually, this won\'t work. You can %sauthenticate your Google Analytics profile here%s to enable dashboards.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } else if ( ! Yoast_Google_Analytics::get_instance()->has_refresh_token() ) { echo '

'; echo sprintf( __( 'Because we\'ve switched to a newer version of the Google Analytics API, you\'ll need to re-authenticate with Google Analytics. We\'re sorry for the inconvenience. You can %sre-authenticate your Google Analytics profile here%s.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } else { ?>
display( 'dimensions' ); } } else { echo '

'; echo sprintf( __( 'You have not yet finished setting up Google Analytics for Wordpress by Yoast. Please %sadd your Analytics profile here%s to enable tracking.', 'google-analytics-for-wordpress' ), '', '' ); echo '

'; } ?>
content_footer(); ?>