Skip to main content
All CollectionsEdit your funnelAdd and edit elements in your funnelCustom HTML
How can I create a loader with automatic forwarding?
How can I create a loader with automatic forwarding?

Learn how to create a loader with automatic redirection using our HTML block

Luise avatar
Written by Luise
Updated over 3 weeks ago

The HTML block allows you to integrate user-defined elements or applications within your funnels.

With the following HTML code, you can easily build a loader with automatic redirection to the next funnel page:

<script>// Wait 2 seconds before the code is executedsetTimeout(() => {window.perspective.navigateToNextPage();}, 2000);</script>

  • Go to your funnel and insert an HTML block

  • Copy the code above and paste it into the HTML block

    ❗️The “2000” are the milliseconds it waits until it sends the visitor on. You can adjust this individually according to your needs

  • Then insert an image block

  • Upload a suitable loading gif

  • Publish your funnel

💡 Our HTML function is currently only available for Advanced Plan users. Click here for more information about our plans.


Please visit our Help Center for more information on the following topics:

Did this answer your question?