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.
- Edit the Campaign
- Configure the Success Action Setting
- Enable the Pass Lead Data to Redirect URL Option
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, and the name passed to the query arg (if the name field is enabled) is
Q: Can I customize the query args?
A: No, the default query args (
om_name) cannot be modified.
Q: How do I use this feature?
A: If you’re new to using query string values and want to learn more check out the following resources: