Redirect Event Registration Pages or Confirmation Pages
  • 21 Feb 2024
  • 1 minute read
  • Dark
    Light
  • PDF

Redirect Event Registration Pages or Confirmation Pages

  • Dark
    Light
  • PDF

Article Summary

This article describes the process of setting up redirects from Slate-hosted event registration and confirmation pages.

Use-cases

You might set up a redirect if:

  • You want to create an event in Slate but want its registration form to be hosted outside of Slate

  • You want the event’s confirmation page to redirect to a different URL than the Slate-hosted confirmation page

Example: Joint travel event

Let’s say you’re participating in a joint travel event with another institution. That other institution hosts the registration form.

You’d want to list the event somewhere on your website, but your constituents would be registering for the event through the other institution’s site.

So, you would configure a redirect from your site to the other institution’s.

Redirecting from an event registration form

To immediately redirect a registrant to another page upon first accessing the form or event:

  1. From the main navigation, click Events.

  2. Select an event, or create a new event.

  3. Click Edit.

  4. Click Description.

  5. Click Source. The HTML editor appears.

  6. Copy one of the following codes.

    • This code performs an immediate redirect:

      <script>FW.Navigate('HTTP://WWW.YOUR-URL.COM');</script>
    • This code performs a redirect with a slight delay, briefly displaying the original page:

      <script type="text/javascript">/*<![CDATA[*/var delay = 5000; setTimeout(function(){ window.location = 'HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/</script>
  7. Paste the code into the HTML editor.

  8. Click Save.

Redirecting from an event confirmation page

To redirect the registrant to another page upon submitting an event registration:

  1. From the main navigation, click Events.

  2. Select an event, or create a new event.

  3. Click Edit Communications.

  4. Select the Confirmation Page communication.

  5. Click Edit Message.

  6. Click Source. The HTML editor appears.

  7. Enter one of the following codes which will perform a browser redirect:Copy one of the following codes.

    • This code performs an immediate redirect:

      <script>FW.Navigate('HTTP://WWW.YOUR-URL.COM');</script>
    • This code performs a redirect with a slight delay, briefly displaying the original page:

      <script type="text/javascript">/*<![CDATA[*/var delay = 5000; setTimeout(function(){ window.location = 'HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/</script>
  8. Paste the code into the HTML editor.

  9. Click Save.

To reload a blank registration page after an event registration is complete:

 <script type="text/javascript">var delay = 5000; setTimeout(function() { location.reload()  }, delay);</script>


Was this article helpful?