• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 How are the view calculated?

flowerpot132

Formerly mugtree
#1
Is this unique members? Or every time you refresh the page?

The views counts on our forum don't match up with google analytics figures. Is that normal?

Many thanks
 

Brogan

XenForo moderator
Staff member
#2
The XF view count is not unique - it is every time the page is visited/refreshed.

GA counts are likely unique.
 

flowerpot132

Formerly mugtree
#3
Thanks Brogan

Ok so I could login to the forum and refresh the page 5 times after each other and the view count would go up by 5 right away?

That's strange then, as our GA says a much higher view count than the XF forum stats. You'd think it would be the other way round?
 

Mike

XenForo developer
Staff member
#4
Ok so I could login to the forum and refresh the page 5 times after each other and the view count would go up by 5 right away?
Correct.

That's strange then, as our GA says a much higher view count than the XF forum stats. You'd think it would be the other way round?
Well the views only track threads, where as GA will track (virtually) every page view, but for a given thread, I would expect it to normally be higher, though there can be some situations where GA might log a view but XF wouldn't (for example, if there were a cache involved).