Uses google analytics to log client-side js errors for all v2 templates built on base.html.