Webmastersite.net
Register Log In

Affiliate Links

Comments on Affiliate Links

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 20, 2005 - 5:10 AM:

I want to have links to my affiliate programs who use either a script or iframe for links. I've made a separate link type (affiliate) but is it possible to have a link to these seeing that they are not a plain URL? If so how do I do it?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 21, 2005 - 7:22 PM:

I don't understand the question. An example would be helpful.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 21, 2005 - 9:09 PM:

OK, I want a link showing the affilate's banner and the url must of course have my id code so they can track it. But affiliate programs don't allow you to simply have their graphic and a simple link they insist on you using their script. So, for a link showing a banner and containing my affil id to amazon they give me:

<iframe src="https://www.webmastersite.net/forums/http://rcm-uk.amazon.co.uk/e/cm?t=thedogscene&..." width="120" height="60" scrolling="no" style="border:none;" frameborder="0"></iframe>

I could probably work around that one, copying their graphic and making my own code, although I doubt if they would be happy. But for another program they give me...

<script language="javascript">
var uri = clkuk.tradedoubler.com/clic...ick?p=16352&a...[/url]" target="_blank"><img src="'+uri+'"></a>');
</script>

The latter one states without that script it will not track everything correctly
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 24, 2005 - 11:50 PM:

The alternate link type is the way to do it, as iframes and javascripts aren't urls.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 25, 2005 - 1:28 AM:

Paul wrote:
The alternate link type is the way to do it, as iframes and javascripts aren't urls.



Could you tell me how I do that please
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 25, 2005 - 11:47 PM:

Have a field affiliatecode. Type the code in that field. For links of the affiliate type, display {LINKAFFILIATECODE} instead of the <a href="... link.

I suppose conditionals could do it too without link types if there were an 'affiliate' field to mark if it's an affiliate code user.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 26, 2005 - 8:59 PM:

Thanks Paul, I was expecting having to do something complicated <G>
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 27, 2005 - 3:29 AM:

OK, made the new field, got it working great EXCEPT that the input is html which of course won't show so the field shows <script......... /script>

So, can I get it to use the html without switch wsn codes off?


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 27, 2005 - 5:39 PM:

HTML is a usergroup permission, set admins to be allowed to use html.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.