angulartics / angulartics-google-analytics

Google Analytics plugin for Angulartics
MIT License
133 stars 86 forks source link

in docs, there is an instruction to delete ga('send','pageview') #16

Closed knvpk closed 8 years ago

knvpk commented 8 years ago

if i delete that, then it is not setting a session and there is no log in the google console page.

timelf123 commented 8 years ago

You must track a pageview with either $analytics.pageTrack('/my/url'); or using the built in route tracking features. We remove the ga('send'... so that Angulartics has full control of when to send pageviews