NAME
    Mojolicious::Plugin::GoogleAnalytics - Mojolicious Plugin

SYNOPSIS
      # Mojolicious
      $self->plugin('GoogleAnalytics');

      # Mojolicious::Lite
      plugin 'GoogleAnalytics';

      # In your layout template
      <%= analytics_inc 'UA-32432-1', 'example.com', 1 %>
      </head> <!-- Make sure its just before closing head tag -->

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.
    blog.example.com, apps.example.com will have the second arguement set to
    'example.com'

  Multiple top level domains
    Default is set to 1 to allow domains such as example.fr, example.cn, and
    example.com

AUTHOR
    Adam Stokes <adamjs@cpan.org>

COPYRIGHT
    Copyright 2013- Adam Stokes

LICENSE
    Licensed under the same terms as Perl.

SEE ALSO
    Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.

