Pardot is an excellent tool for marketing automation, however, sometimes we run into situations that aren’t natively handled by the platform and we get to put our thinking caps on! We recently worked with a client with an existing, rather complex business case.
Several pages on their website displayed an identical form that would send the user to a different page of resources depending on what product they were interested in. However, the indicated product wasn’t based on a form field, rather the preference was indicated by which page the user was on when they submitted the form.
Here’s a not nonprofit-y example. Let’s pretend a website has unique pages for several different kinds of sports. If you’re reading about baseball and want to download the baseball resource package (go O’s, then Dodgers – it’s my blog so I get to choose!), you would submit the form and then be redirected to a page with the desired baseball resources. If you were on a page about football, you’d follow the same process, fill out an identical form, but you’d be redirected to the football resources page upon submission.
Now, in this case, our client had 40 unique resources and that meant 40 form embeds. They wanted to move away from the form builder they were using in favor of native Pardot forms, but if we couldn’t recreate this experience, the alternative would have been developing and maintaining 40 Pardot forms. Ugh.
The first step was to create a hidden field on the form called “link to use,” which was mapped to a custom field on the prospect record of the same name. When the user clicks on the form link from any of the 40 possible pages, the script populates this hidden form field with the URL of the embedded form page.
Can you think of any similar use cases for your nonprofit or association? Feel free to use the code above or reach out to us for further customizations.