<?php
/**
 * Notice view.
 *
 * @package GoogleAnalytics
 */

if (!defined('ABSPATH')) exit;

$url = isset( $url ) ? $url : '';
?>
<div style="display: none" id="googleanalytics_terms_notice"
	class="notice notice-warning <?php echo esc_attr( Ga_Helper::is_plugin_page() ? '' : 'is-dismissible' ); ?>">
	<p>
		Google Analytics <?php echo esc_html( GOOGLEANALYTICS_VERSION ); ?> plugin <a
				href="http://www.sharethis.com/news/2016/12/sharethis-adds-analytics-plugin-to-suite-of-tools/"
				target="_blank">has joined the ShareThis family.</a> <strong>A host of new features</strong> have been
		added in this version, including Google Analytics dashboards, demographics and device data.
		The update requires agreeing to the <a href="http://www.sharethis.com/privacy/" target="_blank">privacy
			policy</a> and <a
				href="http://www.sharethis.com/publisher-terms-of-use/" target="_blank">terms of use</a> to enable them.
		<a href="<?php echo esc_url( $url ); ?>"><span class="button button-primary">I accept</span></a>
	</p>
</div>
