In Progress

Update or Rewrite a WordPress Plugin

Hello,

I'm currently using WordPress and ClickBank to sell my products.

Basically, affiliates will send traffic to a URL like

[url removed, login to view]

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 :

[url removed, login to view]

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 ([url removed, login to view]), 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 :

[url removed, login to view]

And my page content is

<a href="[url removed, login to view]">Click Here !</a>

<a href="[url removed, login to view]">Or Here !</a>

Final output should be :

<a href="[url removed, login to view]">Click Here !</a>

<a href="[url removed, login to view]">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 ([url removed, login to view] instead of [url removed, login to view])

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.

Regards,

Allan

Skills: PHP, Software Architecture, WordPress

See more: wordpress rewrite plugin, wordpress website to sell products, wordpress vendor site, wordpress cost, what's wrong with my website, what's a wordpress website, restore wordpress site, new wordpress website cost, i need a quick code for wordpress, how we can write content in my website, how to write a plugin for wordpress, how to update my wordpress website, how to create a wordpress website, how to create a new website on wordpress, cost of making a website, clickbank traffic, wordpress reference, sell urls, sell my domain names, sell my domain name, sell a url, how to sell urls, how to sell my website domain, how to sell my domain name, how to sell domain names

About the Employer:
( 4 reviews ) Paris, France

Project ID: #1545326

Awarded to:

DrTech76

Hi, I have something ready to base this upon. I am sending you a message in a second. Cordialement, Eko

$80 USD in 1 day
(276 Reviews)
6.6

2 freelancers are bidding on average $150 for this job

rickraja

PLEASE CHECK PMB

$220 USD in 4 days
(0 Reviews)
0.0