1
0

Update Google Analytics module to insert tracking code in head of page.

This commit is contained in:
Alex Kuretz 2012-05-17 16:41:07 -06:00
parent b152980053
commit 6059dd02d3
2 changed files with 7 additions and 3 deletions

View File

@ -18,7 +18,7 @@
*/
class google_analytics_theme
{
static function page_bottom($theme)
static function head($theme)
{
$u_o = 1;
if ( ($theme->item->owner_id != identity::active_user()->id) && (identity::active_user()->admin == 0) ) {

View File

@ -1,3 +1,7 @@
name = Google Analytics
description = Renders the Google Analytics Code at the end of the page.
version = 3
description = Renders the Google Analytics Code in the head of the page.
version = 4
author_name = ""
author_url = ""
info_url = "http://codex.gallery2.org/Gallery3:Modules:google_analytics"
discuss_url = "http://gallery.menalto.com/node/88884"