Knowledge Base/Knowledge Base/Sign Up Forms

How Do I Pass Form Data to My Thank You Pages?

AWeber - Matt H
posted this on July 25, 2012 07:06 PM

All form data, including the information input by your subscriber, can be passed to your thank you pages either:
  

yes_check.png After a subscriber successfully submits a form

yes_check.png After a subscriber confirms their subscription  

yes_check.png .. Or, in both cases

Often times, this is desired to integrate with a third party application (e.g. a shopping cart), or for a custom purpose tailored by a developer to suit a website owner's needs. If you are not sure why you'd want to have this data passed, we recommend ignoring this possibility altogether for the time being. Knowing it's a possibility, you can keep it in your back pocket and revisit implementing it when you see a clear need for it.

Technical Note: Data is passed in the query string (ie. via the GET method) and thus can be accessed using both client and server-side scripts.

How to Pass Form Data to the Form Thank You Page

If you'd like to have form data passed to the page subscribers see immediately after successful submitting a sign up form.

  1. Under the "Sign Up Forms" tab, either create a new form or edit an existing one by clicking on its name.

    21775518_step01.jpg

  2. Click on the "Settings" in the Sign Up Form generator.

    21775518_step02.jpg

  3. Click on the "Show Advanced Settings" button.

    21775518_step03.jpg

  4. Check the "Forward subscriber information to your thank you page" box.

    21775518_step04.jpg

  5. Complete any other changes you need to make to your new or existing form, and save it by clicking "Save Your Form."

How to Pass Form Data to the Confirmation Success Page

If you'd like to have form data passed to the page subscribers see after clicking on the confirmation link, follow these steps.

  1. Under the "List Options" tab, click List Settings.

    21775518_step05.jpg

  2. Click "Confirmed Opt-In" on this page.

    21775518_step06.jpg

  3. Scroll down to the "Success Page" section (learn more about using a custom success page). Check the box labeled Pass subscriber info.

    21775518_step07.jpg

  4. Once you're done, click "Save Settings."

When testing your form (or after confirming your subscription), you will see the form data originally submitted upon signing up in the query string.

 
Topic is closed for comments