The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Embed a direct link to a page for affilaite marketing?
InfernoGroup
post Jan 6 2011, 06:36 PM
Post #1





Group: Members
Posts: 5
Joined: 1-January 11
Member No.: 13,500



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 6 2011, 07:24 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 06:40 PM