This package provides WSGI middleware for injecting the markup required to use Google Analytics into web pages.
In your Paste configuration file, add a stanza which uses the middleware provided by this pacakge, and which supplies your Google Analytics account ID:
[filter:urchin] use = egg:repoze.urchin#middleware account = UA-1234567-8
Then add that filter to your pipeline:
[pipeline:main] pipeline = ... urchin <your appname>
See example.ini for a working example.