Help - Search - Members - Calendar
Full Version: Embed a direct link to a page for affilaite marketing?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
InfernoGroup
Webgains are the affiliate company I am using but their tracking codes don't seem to have the url= part embedded in their links so I can send my customers directly to a product.

Here is an example:
<script language="javascript" type="text/javascript">
var myTarget='http://track.webgains.com/click.html?wglinkid=100891&wgcampaignid=89065&js=0';
var uri = 'http://track.webgains.com/link.html?wglinkid=100891&wgcampaignid=89065';
document.write('<a href="'+myTarget+'" target="_blank" onMouseOver="window.status=\'http://www.medicanimal.com\';return true;" onMouseOut="window.status=\'\'"><img src="'+uri+'" width="120" height="600" border="0" alt=""/></a>');
</script>

http://www.medicanimal.com/product/~frontl...~product_id=411

I want the above HTTP link embedded in the above code so I can send people directly to the product.as the way ti stands people are just going to the home page.

Affiliate Future give me the option to do this as in the example below:

<a href='http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=242112&merchantID=2164&programmeID=5753&mediaID=0&tracking=&url='>PUT YOUR TEXT HERE</a>

Notice at the end of the link there is a &url= and from here I can put my direct link to the item. How would I do this in the Webgains code?

Many thanks for any help.
pandy
Ask Webgain. There's no problem to change the script, but there's no way to know of something on the target page reads your affiliation code or not, and I suppose you want that to happen.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.