What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to pass affiliate ID on forms

    Asked by paleoglobe on October 29, 2013 at 08:06 AM

    Hi,

    I am using jotform as an order form because it is more interesting for my type of product compared to different e-commerce platforms.

    I would like to work with affiliates for my products and add my forms to their websites. Is it possible to create a unique link (with their affiliate ID) to the forms that I have created? I want to track if an order came from a certain affiliate.

    The alternative is that i create 6 forms (I have 6 products) unique for every affiliate. But if I do this right and have 100 affiliates, this means 600 forms. So this is not really interesting.

    Thank you so much for your help

     

    Christophe Slegers

    Page URL:
    http://www.bushiswords.com/html/create-your-custom-1095-carbon-steel-k<br/>atana.htm

    My Forms JotForm order form product populate fields hidden box affiliate id
  • Profile Image
    JotForm Support

    Answered by ardy0689 on October 29, 2013 at 10:02 AM

    Hello, yes this is possible to be achieved on a single form that you can distribute on your affiliates.

    Let's take the form from your website http://www.bushiswords.com/html/create-your-custom-1095-carbon-steel-katana.htm as an example:

    First create a hidden field on your form and name it "affiliate ID" as is.

     

    Set the Affiliate ID on your notification as well

     

    Now you can distribute the form using the form URL by adding "?affiliateId= You members ID"

    http://form.jotformpro.com/form/33013551262947?affiliateId=11231314

     

    This is a sample notification from the sample form I made

     

    If you need further help, please do not hesitate to ask. Thank you

  • Profile Image

    Answered by paleoglobe on October 29, 2013 at 10:57 AM
    But if i understand correctly, this means that i have to create this form
    for every affiliate. Or am i mistaken?
    thanks for the swift respons
    Kind regards
    Christophe slegers
  • Profile Image
    JotForm Support

    Answered by ardy0689 on October 29, 2013 at 11:13 AM

    As from what I can understand on how your website performs, you only need to modify your product forms and add a hidden textbox for each form. Then you can simply reuse those forms to all of your affiliate members. They will use this single form per product.

    To further clarify that, Take this as an example scenario:

    The product "Create your custom katana in 1095 carbon steel" page contains this form

    http://www.jotformeu.com/form/32702206959355 which has a title of "BushiSwords: order 1095 monosteel katana"

    After doing the modification on this form by adding the hidden field and modifying the notification as stated on my previous post, you can now reuse this form for your affiliate members and distribute its embed codes for their website for them to immediately use:

    You can get their normal embed codes by reading this guide Adding a Form to a Web Page

    <script type="text/javascript" src="//support.jotform.com/jsform/32702206959355?affiliateId=11231314"></script>

    You can also use the iFrame embed method for your affiliates who have trouble integrating them on their webpage.

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//support.jotform.com/form/32702206959355?affiliateId=11231314" frameborder="0" style="width:100%; height:32115px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

    As you can see, you can just distribute either one of the embed codes for your affiliates to use and just change their ID accordingly. No need to create each form for each affiliate. They will adjust that on your embed codes using their Affiliate ID.

  • Profile Image

    Answered by Artvargas on December 17, 2015 at 06:02 PM

    Is the Affiliate ID ramdom generated?