403Webshell
Server IP : 194.30.32.123  /  Your IP : 216.73.216.89
Web Server : Apache
System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64
User : ftpbegirale ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /expert/htwebs/www.begirale.com/public/wp-content/plugins/google-analytics-opt-out/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /expert/htwebs/www.begirale.com/public/wp-content/plugins/google-analytics-opt-out/inc/scripts.php
<?php

/**
 * Echos the Javascript or returns it (if $echo is set to TRUE)
 *
 * @return void|string
 * @since 1.0
 *
 */
function gaoop_js() {

	$ua_code = gaoop_get_ua_code();
	if ( empty( $ua_code ) ) {
		return;
	}
	?>
    <script type="text/javascript">
        /* Google Analytics Opt-Out by WP-Buddy | https://wp-buddy.com/products/plugins/google-analytics-opt-out */
		<?php do_action( 'gaoop_js_before_script' ); ?>
		<?php if(gaoop_monster_insights_plugin_active()): ?>
        var gaoop_disable_str = disableStr;
		<?php else: ?>
        var gaoop_property = '<?php echo $ua_code; ?>';
        var gaoop_disable_str = 'ga-disable-' + gaoop_property;
		<?php endif; ?>
        if (document.cookie.indexOf(gaoop_disable_str + '=true') > -1) {
            window[gaoop_disable_str] = true;
        }

        function gaoop_analytics_optout() {
            document.cookie = gaoop_disable_str + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; SameSite=Strict; path=/';
            window[gaoop_disable_str] = true;
			<?php echo apply_filters( 'gaoop_cookie_set', '' ); ?>
        }
		<?php
		do_action( 'gaoop_js_after_script' );
		?>
    </script>
	<?php
}

add_action( 'plugins_loaded', 'gaoop_plugins_loaded' );

function gaoop_plugins_loaded() {
	if ( gaoop_monster_insights_plugin_active() ) {
		add_action( 'monsterinsights_tracking_after', 'gaoop_js' );
	} else {
		add_action( 'wp_head', 'gaoop_js', 0 );
	}
}


/**
 * Enqueue Frontend Scripts
 *
 * @since 1.0
 */
function gaoop_enqueue_scripts() {
	wp_enqueue_script( 'goop', GAOOP_URL . 'js/frontend.js', array(), false, true );
}

add_action( 'wp_enqueue_scripts', 'gaoop_enqueue_scripts' );

Youez - 2016 - github.com/yon3zu
LinuXploit