I'd like to add google analytics on my GWT app (full UiBinding). I read Integrating Google Analytics into GWT application and How to integrate Google Analytics into GWT using the asynchronous script so i know how to call trackviews and stuff, but what i don't understand is: when and where do i call these method ?
I have one entrypoint (.html and .java) and the rest are ui.xml pages.
Should i put some of the GA code in my entrypoint.html and then call the native methods by hand ? Isn't there something more generic/automatic ?
Thanks