Pass Lead Data to Redirect URLs in OptinMonster

Do you want to pass your lead data to your redirect URL? OptinMonster makes it easy! This guide will show you how to set up a success redirect URLs and automatically pass lead data to it as query arguments.

Note: This feature is for Advanced Users who are familiar with using query string values. At this time we do not provide support beyond ensuring this feature is correctly outputting lead data as query string values. New to query strings and want to learn more? Check out our FAQs section.

Step 1 – Edit a Campaign

From the OptinMonster Dashboard, select the Edit button for the campaign you wish to edit.

Step 2 – Configure the Success Action Setting

Navigate to the Success panel in the campaign Builder.

Here you’ll select the Redirect to a new page option from the Success Action dropdown.

Go ahead and enter the URL you wish to redirect visitors to when they submit your campaign in the Redirect URL field.

Step 3 – Enable the Pass Lead Data to Redirect URL Option

Finally, you’ll activate the Pass Lead Data to Redirect URL option.

Save the changes to your campaign and that’s it!

The email is passed to the query arg as om_email, the phone is passed to the query arg as om_phone (if the phone field is enabled), and the name passed to the query arg (if the name field is enabled) is om_name.

Interested in pairing JavaScript with your OptinMonster campaigns for even more functionality? Check out our documentation on our JavaScript events API.