thomaswelton/requirejs-google-analytics — pull request #11 by cdanea (2014-12-09 22:42:50+00:00)
Title: Allow for SPA apps to take full control of the views they send

By forcing the loaded HTML substrate to be reported ASAP require.js loads the AMD module at whatever URI it was requested there can be duplicates and even zombies reported by mistake.

This change adds a new config value, and also sets the default to 'yes, automatically register a page view on the GoogleAnalytics constructor', just as we used to.

You may choose a better named key name for the config, but this really is appreciated for SPAs