natgeo/modules-analytics — pull request #11 by jleja (2014-01-16 01:03:46+00:00)
Title: Add try/catch block to querySelectorAll for older browsers who may not b...

...e able to handle the passed in selectors.

Older browsers, such as IE8, may not be able to process the passed in selectors to querySelectorAll. Adding a try/catch block will help with this, and allow the Analytics script to continue processing.

To test:
- Visit your site with all supported browsers and ensure Analytics loads and works.
- For the new ngs-header, there are still some issues that need to be taken care of outside of modules-analytics, but fixing this error is the first step to resolving those issues.