If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Keeping a count of how many times a hyperlink is clicked

Started by Starfish2201, 02 Oct 2012 04:11:33 PM

Previous topic - Next topic

Starfish2201

Hi Cognos Gurus,

Lets say I have a report with some hyperlinks. User clicks on the hyperlink and a new report opens up (dril-through). Can I some how keep a count of how many times the hyperlink is clicked?

I know each individual report is specific to the that particular user and is static. But is there a way? 

Or lets say can I keep a log of how many times the hyperlink is clicked irrespective of any particular user? If I can get a log (may be writing to a file or table), then I can do a count on the same.

Thanks tons for your help !!!

lm8

If you're using an HTML item in Report Studio to do a hyperlink, you can add JavaScript code to count how many times the link was clicked.  You can combine it with services like Google Analytics and use their JavaScript and their services to do the counting (plus some user statistics logging).  We use these techniques with our own system.

Another option is to turn on web server logging so that it tracks what links are clicked.  Most web servers have the options to log any time you access a file on that server and can even track additional information about the user.