| View previous topic :: View next topic |
| Author |
Message |
Oliver
Joined: 27 Jun 2004 Posts: 188
|
Posted: Mon Oct 04, 2004 8:52 pm Post subject: 'Tell A Friend' script with affiliate link |
|
|
Im trying to find a 'Tell A Friend' script which automatically places the affiliates link in any emails sent out. Can I buy one of these or do I need to have a programmer create this for me?
If you have one that you will sell me please PM me.
Oliver |
|
| Back to top |
|
 |
Seedstream
Joined: 27 Jun 2004 Posts: 269
|
Posted: Mon Oct 04, 2004 9:02 pm Post subject: |
|
|
| I've seen it used on one site, but I'm not sure how they did it though. If you find out, let me know. |
|
| Back to top |
|
 |
DOdO
Joined: 25 Sep 2004 Posts: 27
|
|
| Back to top |
|
 |
Oliver
Joined: 27 Jun 2004 Posts: 188
|
Posted: Tue Oct 05, 2004 4:31 pm Post subject: |
|
|
I am looking for one that automatically inserts the affiliate url in the emails like www.paidforfree.com has.
Thanks, Oliver |
|
| Back to top |
|
 |
Seedstream
Joined: 27 Jun 2004 Posts: 269
|
Posted: Tue Oct 05, 2004 7:40 pm Post subject: |
|
|
| Yeah, that was the site I was talking about when I said I saw it. I have no idea how they do it though. They could probably make a nice chunk of change selling that script. |
|
| Back to top |
|
 |
Mega
Joined: 18 May 2004 Posts: 48 Location: On the beach
|
Posted: Fri Oct 08, 2004 2:52 pm Post subject: |
|
|
Well its fairly simple to modify any perl or php 'tell a friend' script to include a ref link and there are several ways to do it.. one simple way would be to use ssi tags on your page like so..
Put this at the top of your page..
| Code: | | <!--#set var="id" value="${QUERY_STRING}" --> |
Then add an extra field to the tell a friend form like so..
| Code: | | <input type=hidden name=ref value="<!--#echo var="id" -->"> |
Now if you add a query string (youdomain.com/page.html?hop=blah) to your page url then that value (hop=blah) will be added to the form..
After that its a matter of modifying the script itself to accept the extra field in the form, process it in whatever way you want.. for example..
| Code: | | my ($varname, $refcode) = split(/\=/, $hop); |
and include it in any url you add to emails.. very easy to do and no doubt you can work that bit out just from looking at the script to see how it handles the other form inputs.
The same ssi 'trick' can then be used to add the cb referrer code to any other form or link on your page which allows you to do more handy stuff for your affiliates.. _________________ MegaCGI.com - Datafeed scripts for art.com, clickbank and now Overstock!
MegaCGI affiliate program is now live - paying 55% using clickbank, link to any page, great conversions! |
|
| Back to top |
|
 |
Seedstream
Joined: 27 Jun 2004 Posts: 269
|
Posted: Fri Oct 08, 2004 9:10 pm Post subject: |
|
|
Yeah, what he said  |
|
| Back to top |
|
 |
stillhill
Joined: 19 Apr 2004 Posts: 204
|
Posted: Fri Oct 08, 2004 10:12 pm Post subject: |
|
|
Got it... NOT LoL
This would make a nice addition to my page... Mega, are you open to helping me out?
Peter _________________ http://www.federalgrantsource.org - There's a New Sheriff In Town! 75% Commission |
|
| Back to top |
|
 |
DOdO
Joined: 25 Sep 2004 Posts: 27
|
Posted: Sat Oct 09, 2004 8:07 am Post subject: |
|
|
If i got this right, that would get the affiliate ID from the url address.
for example: www.domain.com/?hop=affid
It would work on the first visit, but if the customer returned to the site a second time (by typing the url directly, bookmark, etc) and there was no "?hop=" in the address, then it wouldn't work.
The only way for this to work every time, is to get the affiliate ID from the clickbank cookie. |
|
| Back to top |
|
 |
Mega
Joined: 18 May 2004 Posts: 48 Location: On the beach
|
Posted: Tue Oct 12, 2004 4:38 pm Post subject: |
|
|
| DOdO wrote: | If i got this right, that would get the affiliate ID from the url address.
for example: www.domain.com/?hop=affid
It would work on the first visit, but if the customer returned to the site a second time (by typing the url directly, bookmark, etc) and there was no "?hop=" in the address, then it wouldn't work.
The only way for this to work every time, is to get the affiliate ID from the clickbank cookie. |
Yes you would have to set a cookie then if thats what you wanted to do.. a bit of javascript or another ssi tag to call a perl script would do the job.. or php if thats what you prefer. _________________ MegaCGI.com - Datafeed scripts for art.com, clickbank and now Overstock!
MegaCGI affiliate program is now live - paying 55% using clickbank, link to any page, great conversions! |
|
| Back to top |
|
 |
Mega
Joined: 18 May 2004 Posts: 48 Location: On the beach
|
Posted: Tue Oct 12, 2004 4:53 pm Post subject: |
|
|
| stillhill wrote: | Got it... NOT LoL
This would make a nice addition to my page... Mega, are you open to helping me out?
Peter |
Its not so complicated.. if you want to use ssi then first check with your host if ssi is enabled.. also it needs to be enabled for .html unless you don't mind using .shtml pages..
Then its just a matter of pasting in the tag and modifying the form and the script that it sends to - just look inside the script and you will see what to do.. _________________ MegaCGI.com - Datafeed scripts for art.com, clickbank and now Overstock!
MegaCGI affiliate program is now live - paying 55% using clickbank, link to any page, great conversions! |
|
| Back to top |
|
 |
|