• Hi
    Looking for a plug in that counts the number of hits on links.
    I know WP-DownloadManager dose it but I’m looking for a plug in that have a code for using between wordpress theme.
    Ummmmmmmmm could you understand what I mean? ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vahidrk

    (@vahidrk)

    e.g:
    With WP-PostViews I can use the following code in my WP theme:
    <?php if(function_exists('the_views')) { the_views(); } ?>

    Thread Starter vahidrk

    (@vahidrk)

    Can anybody help?

    takmig

    (@takmig)

    I have opened a thread myself as well, without any replies. Requested help four times now. It’s a few days old and still no luck.

    Anyway, I don’t know how much I can help you, but I have a few methods which should work for a plugin if you want to know the individual link popularity. Then you can try to search for plugins using these methods.

    Method 1
    Simple redirection. All outgoing links will go to “yoursite.com/linkredirect”, register the click in the database, and send the visitor to the website he/she clicked and wished to go to.

    Method 2
    Using Javascript, you can make an “onclick” event in the link to be executed before the visitor is sent to the website he/she wishes to arrive at. The onclick event uses AJAX to load a page (registerLinkPopularity.php) which registers that the link has been clicked in the database.

    There are probably a lot more ways to do it, but I thought these sounded most reasonable and simple. The only thing the plugin needs to do besides registering link count, is to make a simple statistics panel in the admin section of WordPress, where it shows the (e.g.) top 50 links and their popularity.

    As I said, I don’t know how much it’ll help, since you’re looking for an actual plugin and not a way to develop a plugin, but I hope it’s better than just ignoring your thread because I can’t come up with a final solution. ?? I’ll just have to cross my fingers for my own thread as well now. ??

    I hope it put you in the right direction.

    Thread Starter vahidrk

    (@vahidrk)

    Many thanks takmig for your reply and help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Download Counter’ is closed to new replies.