JotForm is an online service for form creation. You can setup a forms with payment buttons and this integration is exactly for those, in case you want to track orders done by any of your JotForm forms.
To be able to track your form results, you have to setup two options in JotForm admin:
- set a form "thank you" page in each form (choose one where you will be able to insert PHP code)
- set preferences of the form to send POST data to thank you page (edit form> Preferences> Advanced Settings)
Save your changes.
Thank you page integration
Now you have to integrate the page you've chosen in preferences of your forms. This is the code, just paste it into your PHP thank you page:
The tracking code uses your custom variables, so you have to check in the code, if yours are the same.
In the example, we are using:
enteryour - which stands for customer full name
enteryour4 - which stands for email
and selectyour - which stands for the product your customer has chosen
Do not forget you have to integrate your landing pages with the click tracking code.