How to Create or Manage a Thank You Page Redirect in WordPress Ninja Forms

How to Create or Manage a Thank You Page Redirect in WordPress Ninja Forms

Here's a short tutorial on how to create or manage a thank you page redirect in WordPress Ninja Forms. 

Why create a thank you page redirect? To enable destination goal tracking for webforms in Google Analytics > Universal Analytics.

NOTE: This method for goal tracking in Google Analytics is likely going to change when GA4 is completely rolled out by Google. 



Transcript:

I'm gonna demonstrate how to set up a thank you page for your forms today. Because we use thank you pages for goal tracking and Google analytics, you’ll wanna make sure that you have a unique thank you page for each form on your site. To demonstrate how the thank you page works, I'm gonna fill out this “get started” form with some test content and then submit the form, which will then redirect me to the thank you page, which you can see here.

To edit this thank you page. You can click on “edit page.” As you can see here, the back end of this page is just like any other page on your site. The main difference with a thank you page though, is you'll want to go down to Yoast SEO, click on advanced and sure that this “Allow search engines to show this page in search results” dropdown and this”Should search engines follow links on this page?” toggle are both set to “no.” Doing this will remove the thank you page from your site map and prevent it from showing up in Google search results.

Once you have your thank you page set up, you can go to the ninja form itself. In this case, this is our, send us a message form. I will click edit, and then we'll go to our emails and actions tab, and select redirect to thank you page where you can see this URL is already in place. If your form doesn't already have a thank you page set up, you can select this blue plus (+) icon and add a redirect with this button right here.