Releases: revolunet/angular-google-analytics
Releases · revolunet/angular-google-analytics
Updated version numbers and generated release files
Separate script injection and tracker setup
Major:
- Script injection and tracker setup are now separate functions that can be independently called allowing for more flexibility of GA setup by consumers. This change is backwards compatible with existing behaviors.
Minor:
- Fixed unnecessary angular loading by require if it is already pre-loaded in the environment.
- Added logging to ga sink function when in test mode.
ngRoute support
- Support ngRoute module for automatic page tracking and granular no-track setting.
Exception tracking and User Opt-out
- Added support for the Google Analytics User Opt-out feature
- Added support for exception tracking via Google Analytics (Universal Analytics only)
Advanced Debugging and AMD Support
- Adds advanced debugging support for the Universal Analytics script as provided by Google with analytics_debug.js and further trace debugging.
- Adds support for Asynchronous Module Definition (AMD), which is used by RequireJS for dependency loading. CommonJS loading was already supported, which is used by Browserify and NodeJS.
Multiple trackers and offline mode
All universal analytics functions support multiple trackers now. Some breaking changes were introduced in this release for this support, such as how e-commerce trackers need to be defined. Please read the fully updated documentation to understand the requirements.
An offline mode has been added to support transient connectivity in hosting applications. The application is responsible for setting the mode of the angular-google-analytics service.
customisable multiple trackers
Bumped to 1.0.0 to follow semver for next releases
Thanks to contributors and especially @justinsa
fixes
add ga-track-event-if
added ga-track-event-if
for conditional tracking thanks to @jonespen
add getUtmParams
thanks to @wytrych