Update or Rewrite a WordPress Plugin

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:

I'm currently using WordPress and ClickBank to sell my products.
Basically, affiliates will send traffic to a URL like

I'd like to create a plugin to capture variables contained in the URL for any page/post, save the data (cookie & php session & maybe another mechanism you can suggest). (The goal is to track the visitor accross several visits of our website. From what I understand, cookie are saved on the client and php sessions are saved on the server. So php sessions should be used as a fallback when cookies are disabled.) Then I should be able to retrieve those saved variables later.

Let's go into deeper details

Part A of the plugin will read and save tracking variables for at least 60 days.
If there is nothing wrong against making it a one year cookie/session, let's do this instead.
Default variables names to capture are 'hop', 'tid', 'vtid' but I'd like to be able to add more easily through the plugin settings.

Part B of the plugin will allow me to reinject those variables manually with a shortcode in my page/post content to craft new URLs.

For instance, a visitor comes to my site with the following link :

I should be able to write in my page content :
<a href="http://[shortcodeName hop].vendor.hop.clickbank.net&tid=[shortcodeName tid]">Click Here !</a>

Final output should be :
<a href="http://myAffiliate.vendor.hop.clickbank.net&tid=myTracking">Click Here </a>

Shortcode should be able to handle both default variables (hop,tid,vtid) and the one added through the plugin settings.

Part C of the plugin will automatically analyze content of the page/post with add_filter('the_content','our_function').

Everytime a href URL points to my domain name (mydomain.com), our_function should append at the end of this URL every variables saved.

For instance, if a visitor comes to my site with the following link :

And my page content is
<a href="http://www.google.com">Click Here !</a>
<a href="http://www.mydomain.com/gotopage5/">Or Here !</a>

Final output should be :
<a href="http://www.google.com">Click Here !</a>
<a href="http://www.mydomain.com/gotopage5/?hop=myAffiliate&tid=myTracking">Or Here !</a>

Keep in mind that href URLs may already have variables appended so you need to check if the ? is needed or not when crafting the new URL.

I've attached a plugin draft you can update or just read as a reference.

Regarding my needs, this current plugin lacks :
- Default variable names to capture : 'hop', 'tid', 'vtid' (not set in install()function)
- No shortcodes implemented
- Should store and restore data through php session too (fallback if cookie disabled)
- Regarding Part C, output is wrong when URL contains folders (http://www.mydomain.com/?hop=myAffiliate&tid=myTracking/gotopage5/ instead of http://www.mydomain.com/gotopage5/?hop=myAffiliate&tid=myTracking)

Let me know how much it would cost for a first quick&dirty version
including code ownership.

Let me know if you have questions, I'd be glad to explain with more
details so that we understand each other.


Skills required:
PHP, Software Architecture, Wordpress
Additional Files: keeper.zip
Hire ABCVita
Project posted by:
ABCVita France
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire DrTech76
$ 80
in 1 days
Hire rickraja
$ 220
in 4 days