Apache2-Filter-GoogleAnalytics

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    Apache2::Filter::GoogleAnalytics - Add GA code to served HTML document

SYNOPSIS
      PerlLoadModule Apache2::Filter::GoogleAnalytics
      <Location /to-analyze>
              WebPropertyID UA-80868086-2
              PerlOutputFilterHandler Apache2::Filter::GoogleAnalytics
      </Location>

DESCRIPTION
    This module transparently adds a Google Analytics service scriptlet to
    each HTML document that Apache httpd serves. It behaves asynchronous
    pass-thru filter, thus its impact on performance is minimal.

OPTIONS
    WebPropertyID
        A Web Property ID obtained from Google. It can be specified both
        globally and per-resource basis.

SEE ALSO
    HTML::Parser, Apache2::Filter.

lib/Apache2/Filter/GoogleAnalytics.pm  view on Meta::CPAN

=head1 SYNOPSIS

  PerlLoadModule Apache2::Filter::GoogleAnalytics
  <Location /to-analyze>
          WebPropertyID UA-80868086-2
          PerlOutputFilterHandler Apache2::Filter::GoogleAnalytics
  </Location>

=head1 DESCRIPTION

This module transparently adds a Google Analytics service scriptlet to each
HTML document that Apache httpd serves. It behaves asynchronous pass-thru
filter, thus its impact on performance is minimal.

=head1 OPTIONS

=over 4

=item B<WebPropertyID>

A Web Property ID obtained from Google. It can be specified both globally



( run in 1.941 second using v1.01-cache-2.11-cpan-39bf76dae61 )