You can redirect activists to another page or website based on a URL argument instead of the page's built in settings (either our built in thank you page or a redirect to another web page). This allows you to redirect different activists to different places after signing the same action. For example, you could send an email to your donors, linking to a petition, and redirect them to a donation page after they sign. And you could send another email to people who have not donated, linking to the same petition, but redirect them to our built in sharing thank you page after they take action.
To add a URL-based redirect, use the redirect
URL argument. For example, to redirect activists who take action on https://actionnetwork.org/petitions/my-petition
to https://my-website.com
after they take action, you'd use a link that looks like: https://actionnetwork.org/petitions/my-petition?redirect=https://my-website.com
You can combine this with other URL arguments, the first one starting with ?
and the next ones starting with &
, such as source code: https://actionnetwork.org/petitions/my-petition?source=my-source&redirect=https://my-website.com
You should URL encode your redirect links as well (just the redirect URL part, not the entire URL) before using them to ensure best results, using this tool. That would make your link look like: https://actionnetwork.org/petitions/my-petition?redirect=https%3A%2F%2Fmy-website.com
If you are putting this link in our email tool, because of how browsers interpret redirection on our click tracking links you'll need to encode your URL twice. (Just the redirect URL part, not the entire URL.) That would make your link look like: https://actionnetwork.org/petitions/my-petition?redirect=https%253A%252F%252Fmy-website.com
Finally, you can use this option on the page you embed our widgets on as well. If you embedded your petition on https://my-website.com/my-petition,
then you can use this link to redirect activists who take action on that widget: https://my-website.com/my-petition?redirect=https%3A%2F%2Fmy-website.com
Note: This feature works on all of our action types, including event campaigns, except for fundraising and ticketed events, for security reasons.