public class GoogleAnalyticsNavigationTracker extends Object implements NavigationHandler
GaAccount
to your Google
Analytics account number:
bind(GoogleAnalyticsImpl.class).to(GoogleAnalytics.class).asEagerSingleton();
bindConstant().annotatedWith(GaAccount.class).to("UA-12345678-1");
If you want to log custom events, see GoogleAnalytics
.public void onNavigation(NavigationEvent navigationEvent)
onNavigation
in interface NavigationHandler
Copyright © 2010-2014 ArcBees. All Rights Reserved.