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.
- Make sure the link has at least one short URL. Without one, there is nothing to copy.
- Open JavaScript.
- Choose Copy snippet.
- Paste it into HTML you are allowed to edit, just before the closing body tag.
- 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
