NAME Mojolicious::Plugin::GoogleAnalytics - Mojolicious Plugin SYNOPSIS # Mojolicious $self->plugin('GoogleAnalytics'); # Mojolicious::Lite plugin 'GoogleAnalytics'; # In your layout template <%= analytics_inc 'UA-32432-1', '', 1 %> DESCRIPTION Mojolicious::Plugin::GoogleAnalytics is a Mojolicious plugin. Inserts Google Analytics code and associates your analytics id. METHODS Mojolicious::Plugin::GoogleAnalytics inherits all methods from Mojolicious::Plugin and implements the following new ones. register $plugin->register(Mojolicious->new); Register plugin in Mojolicious application. OPTIONS Track Subdomains Put the domain which qualifies any subdomains you wish to track, eg., will have the second arguement set to '' Multiple top level domains Default is set to 1 to allow domains such as,, and AUTHOR Adam Stokes COPYRIGHT Copyright 2013- Adam Stokes LICENSE Licensed under the same terms as Perl. SEE ALSO Mojolicious, Mojolicious::Guides, .