Redirecting Users
Redirecting with a hyperlink template
If you are using a hyperlink template you can configure the redirect behavior directly in the Scenario Settings. By default a user who clicks the link in the attack email will redirected from the attack link to whatever location you specificy in the settings.
Redirect URL
To specify the user’s destination after clicking the link, just fill out the Redirect URL field in the scenario settings. You can specify any valid URL in this field.
Redirect Message
Optionally insert a text message that will be displayed to the user while they are being redirected.
Redirect Delay
Time between the page loading and the redirect, measured in milliseconds.

Redirecting from a web-based template
You can redirect users from web-based templates by adding a simple redirect script to the account.html page.
Like normal, set the form action on the landing page to ?login:
Then on the account.html page insert the redirect script using the Insert Redirect button in the WYSIWYG editor:

This inserts a small JavaScript snippet to the page. To remove the redirect behavior simply delete this line from the code.
Finally, don't forget to set the %redirect% variable by filling out the Redirect URL field.
You can use any valid URL or the %awareness% variable.
Redirecting before the user submits the form
To trigger the redirect before the user submits the form, you can add JavaScript like so:
If you prefer not to use jQuery here is a native version of the same script:
Last updated
Was this helpful?