Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default 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:
    Code:
    http://www.queerrepublictees.com/idevaffiliate/idevaffiliate.php?id=193
    ... where 193 is the affiliate ID.

    So I told him to use this format:
    Code:
    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???

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  3. #3
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

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

    THANKS FOR THE INFO!!! I appreciate it!

 

 

Similar Threads

  1. v139h Help with custom code on checkout success page (iDevAffiliate)
    By abcisme in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 20 Jul 2012, 06:03 PM
  2. Need Help with stylesheet for different color links
    By jessica_aw in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Aug 2009, 07:17 PM
  3. Need variables for idevaffiliate variable pass ons?
    By s2kinteg916 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 31 May 2009, 07:41 PM
  4. Need Order Total Variable For iDevAffiliate
    By etrader in forum General Questions
    Replies: 5
    Last Post: 19 Jun 2006, 07:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg