_


Search the PowerSeek SQL Knowledge Base:

_
PowerSeek :: PowerSeek Knowledge Base :: Miscellaneous Questions
_
Question: I don't want to hide URLs in my directory, but I still want clicks on links to be counted. How do I do this? (This entry in the Knowledge Base is here to enable you to have normal URLs (not hidden) and still have PowerSeek count clicks on links by your end-users.)

Answer: Go to the Control Panel >> Template Manager >> 1. Default Category/Directory Templates

Now edit tmplsearch.html and/or tmplsearch_prem.html and edit it so that the Title part of the link looks like the following:

<a href="!!url!!" onClick="window.open('!!hidden_url!!'); return false;">!!title_without_link!!</a>

The onClick part instructs the browser to open a window with the URL supplied. The !!hidden_url!! is replaced by the PowerSeek script that counts clicks and redirects end-users to the site of the link they clicked.

Also See:

User Comments:

There are currently no comments available.
_
Add a Comment - Only post comments regarding this KB entry
If you need to get in contact with us then click here.
Name:
Email: (Optional)
Comment:



Type in the letters that apear in the image box

_
PowerSeek Knowledge Base Categories: