Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Eakambaram
Level 3
Level 3

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

2 Replies
Eakambaram
Level 3
Level 3

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.

Eakambaram
Level 3
Level 3

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.