Update Google Analytics module to insert tracking code in head of page.
This commit is contained in:
parent
b152980053
commit
6059dd02d3
@ -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) ) {
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user