Link Validation

Vivoldi short links support various access control features such as expiration date, password, and maximum click limits.

These restrictions apply only when accessed via the short link. If the original URL is accessed directly, verification is bypassed and protection may be compromised.

To address this, Vivoldi provides a dedicated JavaScript SDK.

By applying this SDK to your webpage, link protection settings (expiration, password, click limits, etc.) are automatically verified. If conditions are not met, users are redirected to the short link or access is blocked.

👉 With just one line of code, you can securely protect event and promotion pages.

This SDK is available only on Premium plans or higher.

Insert the Vivoldi script in the <head>...</head> section as shown below.

example.html
<html>
<head>
<title>example page</title>
<script src="https://opencdn.vivoldi.com/js/v2/link.validate.min.js?v=202507301"></script>
<script>
const req = {
    linkId:'xY5h',  // Block access if not accessed via this link ID.
    domain:'https://vvd.bz',
    apiKey:'5oNyoLDuQ513cJ1rlYpJgHc9zu0H10F6'
};
vvdLinkValidate(req);
</script>
</head>

<body>
.
.
.
</body>
</html>