We are building an AngularJS app and we want to integrate CrazyEgg tracking. Normally on a server rendered web app, like any other tracking tool, you just add the tracking code just before the closing.
How would it work on an AngularJS app? I am pretty sure that adding the tracking script on the index.html won't work, as it won't pick up the state changes, plus, it might not be loaded in time on app startup.
Any ideas? How could that work?