How to get the number of times a page got viewed in CQ5.6.1 programatically from CQAnalytics or sitecatalyst | Community
Skip to main content
Level 3
October 16, 2015
Solved

How to get the number of times a page got viewed in CQ5.6.1 programatically from CQAnalytics or sitecatalyst

  • October 16, 2015
  • 2 replies
  • 992 views

Hi,

We have a requirement to show most read pages on top in a page. For this we have to get number of times a page got viewed by end user.

I am assuming that this we can do using analytics.

Can any one please let me know how to get page view count for a CQ page either using CQ_analtics, SItecatalust or Google Analytics.

 

Best Regards

Eakambaram Yadav

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Eakambaram

While the impression data initially appears tempting, it is not meant for end-user page view analytics. 

If we consider the author displays impressions, 1+ publish instances would have to "reverse replicate" impression data back to the author, which would get pushed right back to publish instances.

When we consider the Apache Dispatchers serving up cached pages w/o passing the request to the publish instances, you can understand how even your production publish instances don't see all the traffic, either.

I am looking for anlaytics java script or Java  API for getting the number of times a page got viewed.

2 replies

Level 3
October 16, 2015

While the impression data initially appears tempting, it is not meant for end-user page view analytics. 

If weconsider the author displays impressions, 1+ publish instances would have to "reverse replicate" impression data back to the author, which would get pushed right back to publish instances.

When we consider the Apache Dispatchers serving up cached pages w/o passing the request to the publish instances, you can understand how even your production publish instances don't see all the traffic, either. 

That is the reason I am looking to  Analytics. I am not able to find any java script api or java rest call for getting this in the analytics.

EakambaramAuthorAccepted solution
Level 3
October 16, 2015

While the impression data initially appears tempting, it is not meant for end-user page view analytics. 

If we consider the author displays impressions, 1+ publish instances would have to "reverse replicate" impression data back to the author, which would get pushed right back to publish instances.

When we consider the Apache Dispatchers serving up cached pages w/o passing the request to the publish instances, you can understand how even your production publish instances don't see all the traffic, either.

I am looking for anlaytics java script or Java  API for getting the number of times a page got viewed.