PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

passing 'affiliate id' as hidden field

  1. mostlyjan
    Member

    i am looking to do something (i thought to be) very simple but i am having a hard time finding a solution. I am hopeful you guys can end my search !

    i want to associate leads with their referring sites and then pass that info on as a hidden field when someone fills out a form.

    So Site-A sends someone to a specific landing page on our site or perhaps by using a parameter in the url (mysite.com?referrer=siteA)
    I then want to store a cookie to always associate that lead with Site-A.
    When they fill out the contact-us form, i want to embed the Site-A referring site as a hidden field.

    there are dozens of Affiliate solutions but overkill for what i am trying to do.

    keeping my fingers crossed and hoping there is a way to do this using your solution!

    Posted 11 years ago on Wednesday April 17, 2013 | Permalink
  2. Jan, you posted in the pre-purchase forums. Once you have a Gravity Forms license, we can help you with possible solutions in the regular support forums: http://www.gravityhelp.com/forums/forum/gravity-forms#postform

    You can use a query string just as you described (?referrer=siteA) but setting the cookie will be up to you. Then, reading that cookie into a hidden field in your form will also be up to you to code.

    Other users have posted their solutions. I will paste the link here but you will not be able to view the topic until you are a license holder http://www.gravityhelp.com/forums/topic/using-cookies-to-populate-forms#post-74281

    Posted 11 years ago on Thursday April 18, 2013 | Permalink
  3. mostlyjan
    Member

    so the two things i need to do i have to do myself. And then if i purchase there "may" be some other relevant info but a mystery what those may be and what would be entailed until i buy... Unfortunately this does not appear to be a joke.

    Posted 11 years ago on Thursday April 18, 2013 | Permalink
  4. David Peralty

    Basically, the answer is - Gravity Forms can't do the things you want out of the box, but if you are a good PHP programmer, there are ways to customize it to do what you want. I don't understand what other answer you were hoping for, but I hope my clarification helps...

    Posted 11 years ago on Thursday April 18, 2013 | Permalink