Skip to content

Comment on Ask HN: How should you track page views for a single page app?parent

Comments

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?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.