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
Configure the success action setting to Redirect to a URL.
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 Parameters 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 is
om_name (if the name field is enabled).
Q: Can I customize the query args?
A: No, the default query args (
om_phone , and
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: