Open vtomberg opened 8 years ago
Just adding the GA code will probably not help much as the tracking might not work in case of internal routing of the Angular app.
This thread has some useful information on matter (including a possible simple solution to our router):http://stackoverflow.com/questions/10713708/tracking-google-analytics-page-views-with-angular-js The described solution would allow to track all the navigation within the app.
Please make sure that it currently only was about tracking the page view as someone visited the page. GA has a lot more possibilities.
Is this issue only about tracking the the page view/visit on just these two pages?
This still needs some testing and could then be closed.
Currently, GA tracks all pages. If it should exclude the administration ones, then some code changes might be needed.
The URL's have an issue: /#/ is missing, thus opening some page straight from GA would fail.
To add Google Analytics to Index and Project view pages