In Frameless project, we need to add a section to gather feedback on help topics, and also have insights about the number of visits. Is there any certain code to use here?
Most sites that provide stats will give you their code to inject inot your topics. Google for example.
@Peter Thank you. I was asking if this could be handled within RoboHelp itself as other authoring platforms. If not, are there steps to follow for where to inject the code ..which files and best way to do it?
Only with RoboHelp Server which has an additional program.
With the external sites the instructions to inject the code and the code itself are on those sites. Each will be different.
Once you have to code, a quick way to inject the code to avoid topic by topic is to find something that is in all topics and do a find and replace.
For example Google Analytics requires its code in the head section. Your find is <head> and your replace is <head> plus Google's code.
@Peter Thanks a lot. I'll give it a try. I hope if anyone in the community has done it before to share their experience too.
I use Google Analytics for my help, as Peter described.
You sign up for a free account, and quote the URL.
Take the code they give you and add it into the <head> of the relevant topic(s0 or preferably template(s). I use the same template for all topics, so I only had to do it once, whixh gives me the stats for hundreds of topics.
Log into your account to view the latests stats, which you can view all sorts of ways. Lazy option is to click the link in Google's monthly email. 🙂
I've been doing it for over a year, and it's been very useful seeing which topics are actually viewed (in your chose time period): hits and visits, average time spent, country, etc.
Of course that only answers the second half your question: "insights about the number of visits".
I don't use anything more sophisticated than a mailto link to 'gather feedback".
For our Help system, we ended up using a tool our devs use to track analytics in applications: Application Insights (AI). It provides real-time analytics for products. It's probably a bit overkill because it tracks a lot of information, but it was a tool we had available.
To enable it, we put the code snippet AI provides in the header section of the .htt and then applied the .htt to each .htm.
Also, creating custom reports and getting specific data from AI does require some scripting knowledge.