WordPress.org

Ready to get started?Download WordPress

Forums

Need a plugin that ... (3 posts)

  1. drewamp
    Member
    Posted 7 years ago #

    Hey,

    I am looking for a plugin I can use that will make links I can track, for example, my website would be http://www.mywebsite.com. If I have an affiliate URL for http://www.affiliates.com/affid=54434, I would want to change it and track it to http://www.mywebsite.com/go/affiliates so it hides the affiliate URL and also tracks the link so I can see how many clicks I get from it.

    Is there a plugin around that does this?

    Thanks!

  2. Adam Brown
    Member
    Posted 7 years ago #

    You could write this yourself. Check http://codex.wordpress.org/Plugin_API

    The hook you'll want is "the_content" which is a filter hook.

  3. drewamp
    Member
    Posted 7 years ago #

    Thanks, I looked at that and read through and I got bits and pieces of it, but for the most part it is all jibberish to me.

    I did think of something though. What if I made a page named "Go" that does not show up on the front page, then just add pages with only a meta-redirect in the source page. Would that work?

Topic Closed

This topic has been closed to new replies.

About this Topic