View Single Post
Old 03-24-2012, 12:51 AM   PM User | #1
bentatts
New to the CF scene

 
Join Date: Mar 2012
Location: Gold Coast, Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
bentatts is an unknown quantity at this point
Thumbs up Creating a search form to another website with an affiliate link code

Hey all,

Need a little help with this one. I created a nifty little search box that will take the user to another site but with the result they're after. The code is below.

form action="http://www.wiggle.co.uk/?s= method="get" target ="blank" >
input type="text" name="s">
button type="Submit">Search</button>
</form

And now I need to add the link the affiliate company use so they can keep track of the traffic I'm sending the other website. The code they've given me is:

a href="http://www.awin1.com/cread.php?awinmid=1857&awinaffid=137450&clickref=Search&p=http%3A%2F%2Fwww.wiggle.co.uk%2F%3Fs%3D" onmouseover="self.status='http://www.wiggle.co.uk/?s='; return true;" onmouseout="self.status=''; return true;" target="_new"></a

Has anyone got any idea how I could make this work? you can check out my website www.ridersrepublic.squarespace.com to see how the original works.

Look forward to hearing from you,
Ben
bentatts is offline   Reply With Quote