JavaScript redirection

A snippet you paste on a page you control, which then sends the visitor through your short URL.

The JavaScript tab does not redirect by itself. It gives you a small script. The script waits a moment, then sets the browser location to your short URL. The short URL still applies routing, UTM, passwords, bot rules, and analytics.

  1. Make sure the link has at least one short URL. Without one, there is nothing to copy.
  2. Open JavaScript.
  3. Choose Copy snippet.
  4. Paste it into HTML you are allowed to edit, just before the closing body tag.
  5. Load that page and confirm you land on the short URL's destination.

Do not paste the snippet on a site you do not control. Visitors should have a reason to be on that page. The snippet is not a substitute for the short URL on a QR code or in an email.

Next: PHP gateway

Create account