collectiveip/prerender — pull request #23 by sharshenov (2013-10-23 09:02:11+00:00)
Title: Add user agent

I was faced with an unwanted effect when rendering a static version of the site. When GoogleBot request a page the web application proxies the request to a prerender. Prerender renders static html and executes javascript(include google analytics). This behavior can disrupt the accuracy of statistics if site has many pages.

As workaround, I suggest to parse user agent and do not insert google analytics script for a prerender.