Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP Affiliate Platform

Integrating with Formstack

(2 posts) (2 voices)
  • Started 9 months ago by lafleurcreative
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. Integrating non Wordpress website
    2. Free download in eStore not integrating with Mailchimp
    3. Integrating eMember with another plugin?
    4. Lightbox Ultimate - Add custom tracking code
    5. Custom coding for integrating any other plugins?

Tags:

  • cookie
  • form
  • formstack
  • integration
  1. lafleurcreative
    Member

    Has anyone attempted to integrate WP Affiliate with a Formstack form? I believe we need to have a hidden field that we can somehow prepopulate with the affiliate's ID. I'm assuming this would also require placing a bit of PHP or javascript on the page?

    Any guidance would be greatly appreciated as our site relies heavily on the Formstack forms.

    Posted 9 months ago #
  2. amin007
    Key Master

    We do not have any integration option with the "Formstack forms" application. We can however tell you how you can retrieve the affiliate ID and add it to a hidden field using PHP. The affiliate ID is stored in a cookie and can be retrieved using the following code:

    <?php
    $aff_id = $_COOKIE['ap_id'];
    echo '<input type="hidden" name="affiliate_id" value="'.$aff_id.'" />';
    ?>

    This 3rd party integration API might come in handy:
    http://www.tipsandtricks-hq.com/wordpress-affiliate/awarding-commission-via-http-get-or-post-189

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

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