Article Views Counter

junaid98
Tera Contributor

Hi Everyone,

 

Another quick question. Is there a way to see the "total" views of an article across multiple versions? 

I'm interested to see the overall "total" views of an article to see if I can spot trends and maybe see which techniques I'm using are better than others.

 

Thanks again for the support.

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @junaid98 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718592

 

Knowledge User Count is updated via the scheduled job "Count Knowledge Use", so the results will be updated on a daily basis after the job runs. The Knowledge View Count related list shows all counts.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

13 REPLIES 13

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @junaid98 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718592

 

Knowledge User Count is updated via the scheduled job "Count Knowledge Use", so the results will be updated on a daily basis after the job runs. The Knowledge View Count related list shows all counts.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

James Chun
Kilo Patron

Hi @junaid98 ,

 

I believe you can use the [kb_use] table for this

 

Yes, the kb_use table shows the total number of views of all versions of the article. But the view count is governed by the property glide.knowman.view_age.days, which indicates the number of days up to which the article views should be considered for the view count, the default is set to 30, meaning only views in the last 30 days will be counted in the view count and hence you will find the discrepancy between the numbers in kb_use and view count, see the documentation topic Knowledge properties for more information.

 

Ref: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0713200#mcetoc_1fihli4m54u

 

Hope it helps!

@James Chun ,

 

Yes...Last 30 days views will be counted in the view count. Is there any way to see the "total view" count of an article across all versions?

 

Thanks

 

 

 

Hi,

 

You should be able to see this on the kb_use table. If you run a report and group it by the KB Number it will give the views for all versions, and not just specific to the latest. By excluding a 'Created' condition, you are leaving the time frame blank so will get results for all time. The example below shows the total number of views for the Top 10 articles in the specified knowledge base.

 

2024-02-26_14-36-28.jpg