Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl
branch: releases

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Plack/Middleware
t
Changes
LICENSE
MANIFEST
META.yml
Makefile.PL
README
README.mkdn
dist.ini

README.mkdn

SYNOPSIS

use Plack::Builder;

builder {
    enable "Plack::Middleware::GoogleAnalytics", ga_id => 'UA-214112-11';
    $app;
};

DESCRIPTION

Plack::Middleware::GoogleAnalytics will insert the standard google analytics Javascript at the end of a text/html document. It places this boilerplate code at the end of the document.

ARGUMENTS

This middleware accepts the following arguments.

ga_id

This is the id that is supplied by Google. This is a required argument.

SEE ALSO

Plack, Plack::Middleware, Moo

AUTHOR

Logan Bell, <logie@cpan.org>

COPYRIGHT & LICENSE

Copyright 2012, Logan Bell

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.