Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
Share
LinkBack Thread Tools
Old 02-18-2013, 03:24 AM   #1
Warrior Member
 
Join Date: Jul 2008
Location: , , .
Posts: 22
Thanks: 2
Thanked 1 Time in 1 Post
Default Any Script to redirect links based on affiliate program

Is there any script that detects the link posted & attaches the corresponding affiliate program`s codes (along with utm tags at end) & opens it ?

The scenario is like this
1) A visitor posts a link of a product on a forum.Lets say it as http://www.xyz.com
2) The link is displayed as http://www.xyz.com on the screen
3) On clicking the above link, it communicates to www.mywebsite.com/link?http://www.xyz.com & attaches the affiliate codes for www.xyz.com & opens it.

Similarly, when another product from a diffrnt site is posted, it attaches a diffrnt code & opens that website.

Many coupon sharing/deal sharing websites are doing this by creating a centralized database of affiliate links & based on the posted URL, the affiliate codes are attached when someone clicks on that link.

Is there any script to incorporate this OR how do i make one?
chladmin is offline   Reply With Quote
Old 02-18-2013, 04:16 AM   #2
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: Nov 2011
Location: Spain
Posts: 735
Thanks: 97
Thanked 198 Times in 171 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Default Re: Any Script to redirect links based on affiliate program

So you just want to append e.g. ?affid=xxx to the URL?

Google for php append value to url

or jquery append value to url

or append value to url

HTML/CSS/jQuery/ZURB Foundation 3/Twitter Bootstrap 2/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline   Reply With Quote
Old 02-18-2013, 04:55 AM   #3
Warrior Member
 
Join Date: Jul 2008
Location: , , .
Posts: 22
Thanks: 2
Thanked 1 Time in 1 Post
Default Re: Any Script to redirect links based on affiliate program

Quote:
Originally Posted by Michael71 View Post
So you just want to append e.g. ?affid=xxx to the URL?

Google for php append value to url

or jquery append value to url

or append value to url
Thanks michael for replying.

not only appending values to the URL but also appending values to the entire url itself.

For eg: see this website, http://www.bankjobsqa.com/74/books-for-sbi-po-exam

in the answer part, although the page displays only flipkart.com when hovered o the URL, it redirects to linksredirect.com then to affiliates.tyroo.com (where the codes are prefixed & utm tags are suffixed) & then finally opens the product website

The website uses some kind of javaascript to do such a redirection. Hw to do this for 3 or 4 different product websites?

Last edited by chladmin; 02-18-2013 at 04:55 AM. Reason: forgot to add exampl url
chladmin is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Bookmarks

Tags
affiliate, based, links, program, redirect, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 11:32 PM.