Forums / All Other Contributions/Addons / Need help with code for direct product links for iDevAffiliate

Need help with code for direct product links for iDevAffiliate

Locked

Views: 3,157

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Jan 2009, 10:16 PM
#1
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Need help with code for direct product links for iDevAffiliate

I have an affiliate who wants to link directly to some of my products. I use iDevAffiliate for tracking sales and each affiliate gets their own affiliate ID.

An example of the standard linking code is:

http://www.queerrepublictees.com/idevaffiliate/idevaffiliate.php?id=193

... where 193 is the affiliate ID.

So I told him to use this format:

http://www.queerrepublictees.com/index.php?main_page=product_info&products_id=61/idevaffiliate/idevaffiliate.php?id=193

... but he says it's not working for him.

Am I missing something here???

16 Jan 2009, 12:36 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Need help with code for direct product links for iDevAffiliate

Adding the extra information to the end of the incoming link will not work. Basically you are bypassing idevAffiliate and going straight into Zen Cart. Zen Cart then looks at stuff on the end of the URL that it knows is not amongst the range of inputs that it is expecting, strips it off and throws it away - it does this for your safety since adding code to the end of URLs is one of the techniques that hackers use.

So how can you do this? Let's step back and see how idevAffiliates works. Your incoming links go first to idev with the information about the affiliate attached. idev reads that information and records it in its database and in a cookie for later use. Then it forwards the visitor to the default home page on the site (the one you set in Setup & Tools > Site Configuration.

To send it somewhere else, you need to create custom links (bottom of the Marketing menu, left hand side). These override the link to the Default Incoming Traffic Page, but you will need to define a keyword for each and have your affiliate include them in the product specific URLs that he uses to link to your site.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Jan 2009, 1:22 PM
#3
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Need help with code for direct product links for iDevAffiliate

THANKS FOR THE INFO!!! I appreciate it!