Location: PHPKode > projects > Redaxscript > redaxscript/modules/analytics/index.php
<?php

/**
 * analytics loader start
 */

function analytics_loader_start()
{
	if (LOGGED_IN != TOKEN)
	{
		global $loader_modules_scripts;
		$loader_modules_scripts[] = 'modules/analytics/scripts/startup.js';
		$loader_modules_scripts[] = 'modules/analytics/scripts/analytics.js';
	}
}

/**
 * analytics scripts start
 */

function analytics_scripts_start()
{
	if (LOGGED_IN != TOKEN)
	{
		$output = '<script src="http://google-analytics.com/ga.js"></script>' . PHP_EOL;
		echo $output;
	}
}
?>
Return current item: Redaxscript