Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » WP Affiliate Platform » WP Affiliate F.A.Q/Instructions

Creating Pass Thru Affiilate Links for External Site

(23 posts) (8 voices)
  • Started 1 year ago by amin007
  • Latest reply from admin
  • Related Topics:
    1. Using Multiple eStore product as the template for NextGen Gallery Integration
    2. Multiple Nextgen Galleries with different prices and variations
    3. WP Lightbox Ult operation with NextGen Gallery
    4. Integrate NextGen gallery with WP eStore without listing products two times.
    5. Pay per view options

Tags:

  • affiliate redirect
  • next gen
  • nextgen
  • NextGen Gallery
123Next »
  1. amin007
    Key Master

    When You Might Need This?

    Say for example you have a video on an external site where you want your affiliates to send the traffic. After the visitor watch the video he/she can come to your site and make a purchase.

    Since the affiliate sent the traffic to an external site the affiliate plugin has no way of tracking the cookie to determine who sent the visitor. To get around this issue you can create pass thru affiliate link.

    Creating Pass Thru Links

    Pass thru links are links that point to your site but automatically redirects the user to the target page after it sets the cookie and tracks the click on your domain. WP Affiliate Platfrom allows you to do this. So for example your external video page is at the following URL:

    http://www.example.com/myvideo

    so a pass thru link will be like the following:

    http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/redirect.php?url=http://www.example.com/myvideo&ap_id=tips21

    This will track the click for the affiliate whose ID id "tips21" then redirect the user to the "www.example.com/myvideo" page. If the visitor then comes back to your site later and makes a purchase the commission will be awarded to the affiliate whose ID is "tips21" as the cookie is already set.

    You can ofcourse use a TinyURL or link shortener service to make the pass through link look short and clean.

    Posted 1 year ago #
  2. Jakey
    Member

    Hi,

    Would it be possible to add another parameter to the affiliate link and track it on the backend?

    Say http://domain.com/?ap_id=aff-id&subid=aff-subid

    So then the affiliate can track which click or link led to the sale.

    Thanks!
    Jake

    Posted 1 year ago #
  3. amin007
    Key Master

    There is not option build in the plugin for this so you will have to manully teak the code. This sounds like a good idea though so I will put it on my to do list.

    You can however make multiple affiliate accounts to track different campaigns (This will become painful if you have too many campaigns though)

    Posted 1 year ago #
  4. pwidder
    Member

    I tried using the pass through code as per above
    With these parameters

    http://www.alrodee.com/wp-content/plugins/wp-affiliate-platform/api/redirect.php?url=www.bephobiafree.com&ap_id=pwidder

    This is url that shows in the address bar
    http://www.alrodee.com/wp-content/plugins/wp-affiliate-platform/api/www.bephobiafree.com

    and I end up on and 404 error page on the host site.

    Is there an error in my code?

    Posted 1 year ago #
  5. amin007
    Key Master

    In the URL parameter you don't have "http" so it's not doing the redirection properly. try the following:

    http://www.alrodee.com/wp-content/plugins/wp-affiliate-platform/api/redirect.php?url=http://www.bephobiafree.com&ap_id=pwidder

    Posted 1 year ago #
  6. wzp
    Moderator

    I think he was imitating the example given at the top of this thread, that did not contain the http part 8(

    Posted 1 year ago #
  7. amin007
    Key Master

    What? The example missing the "http"? I don't see it.. what are you going on about? :P

    Thanks for pointing it out... I corrected the example.

    Posted 1 year ago #
  8. Jakey
    Member

    Hey Amin,

    I hope all is going well. :)

    Any chance you were able to add the ability to pass an additional parameter yet?

    Thanks!
    Jake

    Posted 1 year ago #
  9. Jakey
    Member

    bump :)

    Posted 1 year ago #
  10. amin007
    Key Master

    I looked into this but then I realized that there is not database column to store this info so it turned out to be not so straight forward.

    Anyway, I still want to add this feature and this is the rough sketch.

    When this additional parameter is set it will store the value in a field called "Custom Tracking" and will display this information under the "Referrals" menu. Will this work?

    Posted 1 year ago #

RSS feed for this topic

123Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin