Redirecting your Raisely campaign
If you've finished your Raisely campaign, you can either close the campaign to take it offline or add a redirect to another campaign or your main donation page.
Follow these steps to add a redirect for your whole campaign:
- Go to Settings > Apps & Integrations and turn on Custom Javascript (Advanced)
- In the "Custom Code" box enter the following:
const current_path = window.location.pathname; if (current_path === "/") { window.location.replace("https://example.com"); }
Replace http://example.com/ with the URL you would like to redirect the campaign to. - Press Save
Once you've done that, load your page to confirm the direct is working. There may be a brief flash where you see your campaign before the redirect kicks in.