News for hackers. Stuff that matters.
Re:Ask HN: How should you track page views for a single page... by nischalshetty on Saturday January 21, 2012 @05:27AM (#3493247)
I've heard of it but never really used it. Before I use any particular analytics tool, I want to know if it's right to track ajax page refreshes as a new page view. Any ideas on that?
Re:Ask HN: How should you track page views for a single page... by revorad on Saturday January 21, 2012 @05:37AM (#3493257)
Mixpanel can track any event, so that should work.
Re:Ask HN: How should you track page views for a single page... by nischalshetty on Saturday January 21, 2012 @07:42AM (#3493440)
I guess I wasn't clear on my question. I do know how to track events but I need to know if that's the right thing to do. Advertisers usually look at 'pageviews' while advertising but single page ajax apps do not garner enough page views even with high traffic for the simple reason that once the user logs in the page is never refreshed.

So, is it ok to increment the page view count each time a new page is loaded via ajax?