Skip to content

Using LinkProxy Plus

Open Vanity Links Plus in the Marketing group of the admin navigation. The list shows the newest links first.

Column Content
Name The internal name. Searchable and sortable.
Slug The slug. Searchable.
Active Whether Is active is on.
Clicks Number of recorded visits, including blocked ones. Sortable.
Unique Number of recorded visits marked as unique.
Health HTTP status of the last health check, or n/a if none was run.
Updated at Time of the last change. Sortable.

Each row has these buttons, depending on your permissions:

  • QR opens a 400 x 400 pixel QR code of the public URL in a new tab. The image is generated by the external service api.qrserver.com, which receives the public URL of the link.
  • Open opens the public URL in a new tab. This counts as a visit.
  • Check Health runs a health check, see below.
  • Edit and Delete.

Above the table you find Export CSV, Import CSV and the bulk delete for selected rows.

  1. Click the create button above the list.
  2. Fill in Name, Slug and Destination url.
  3. Open the other sections if you need a schedule, a limit, a password or a webhook. All options are described in Configuration.
  4. Save.

The link is live at once at:

https://your-paymenter-domain/{slug}

Deleting a link removes it from the list and its URL returns Paymenter's 404 page. The visit records of the link stay in the table ext_vanity_links_plus_clicks.

What visitors see

A visitor who opens /{slug} with a GET request gets one of these results. The checks run in this order and the first one that applies decides.

Situation Response
No link with this slug Paymenter's 404 page
Is active is off Link unavailable: inactive, HTTP 410
Before Starts at Link unavailable: not_started, HTTP 403
After Expires at Link unavailable: expired, HTTP 410
Max clicks reached Link unavailable: max_clicks_reached, HTTP 410
One time is on and a visit is already recorded Link unavailable: one_time_used, HTTP 410
Password set and not yet entered Password page, HTTP 401
No destination URL and no fallback URL Link unavailable: no_target, HTTP 404
Otherwise Redirect (HTTP 302) to the destination URL

The error responses are plain text without your theme. The visitor is redirected to the destination URL exactly as you saved it. Query parameters added to the vanity URL are not passed on.

Password page

A protected link shows a page titled Password required with the text "This link is protected. Enter password to continue.", a password field and a Continue button. The page has its own dark design and does not use your Paymenter theme.

  • A correct password unlocks the link for the visitor's browser session and sends the visitor back to /{slug}, which then redirects.
  • A wrong password shows the page again with "Invalid password. Please try again."
  • The unlock belongs to the session, not to the password. If you change the password, visitors who already unlocked the link stay unlocked until their session ends.

Tracking

What is recorded

Every request to an existing link creates one row in ext_vanity_links_plus_clicks, whether it ended in a redirect or not:

  • IP address
  • country code, read from the request headers CF-IPCountry, X-Country-Code or X-Appengine-Country, in that order. Without one of these headers the country stays empty.
  • device type: tablet, mobile or desktop, derived from the user agent
  • browser language (the first 24 characters of the Accept-Language header)
  • referrer and user agent
  • whether the visit is unique
  • whether it was blocked, and the reason (inactive, not_started, expired, max_clicks_reached, one_time_used, password_required, no_target)
  • the URL the visitor was redirected to and the HTTP status code

The admin area shows the Clicks and Unique counts. The other details are stored in the database and included in webhooks, but there is no admin page that lists single visits.

The extension never deletes visit records by itself. They stay until you uninstall the extension or remove them from the database.

What counts as a click

Clicks, Max clicks and One time all count recorded visits, and blocked visits are recorded too. In practice:

  • Each display of the password page is one click. A visitor who opens a protected link, enters the password and is redirected has used two clicks.
  • A wrong password does not add a click by itself.
  • Visits to an inactive, not yet started or expired link add clicks.

Warning

Do not combine One time with a password. The display of the password page is recorded as the first visit, so the link answers one_time_used after the visitor enters the correct password. For the same reason, a protected link needs Max clicks of at least 2 per intended visitor.

Unique clicks

A visit is marked unique when no other visit from the same IP address has been recorded for the same link on the same day. Blocked visits take part in this in the same way as successful ones.

Webhooks

Webhooks are sent only while Enable Click Webhooks is on in the extension settings.

For every recorded visit, blocked or not, the extension sends one POST request with a JSON body:

  • to the link's Webhook url, if Webhook enabled is on and the URL is filled,
  • otherwise to the Global Webhook URL (optional),
  • nowhere, if neither is set.

The standard payload looks like this:

{
  "event": "vanity_link_click",
  "timestamp": "2026-03-01T12:00:00+00:00",
  "link": { "id": 1, "name": "Summer Sale", "slug": "summer-sale" },
  "result": {
    "ok": true,
    "reason": "",
    "status_code": 302,
    "resolved_url": "https://example.com/sale"
  },
  "click": {
    "ip": "203.0.113.10",
    "country": "CH",
    "device": "desktop",
    "language": "en-US,en;q=0.9",
    "referrer": null,
    "is_unique": true
  }
}

If the URL contains discord.com/api/webhooks/ or discordapp.com/api/webhooks/, the extension sends a Discord message instead: a text line with slug, name and result, and an embed titled Vanity Links Plus Event with the fields Slug, Status, IP and Country. The embed is green for a successful redirect and red for a blocked visit.

The webhook is sent during the visitor's request, before the redirect, with a timeout of 8 seconds. A slow webhook target delays the redirect by up to that time. A failed webhook does not stop the redirect. It is written to the Paymenter log as a warning (VanityLinksPlus webhook failed or VanityLinksPlus webhook exception). There is no retry.

Health check

Check Health sends one GET request to the link's destination URL with a timeout of 10 seconds and stores the result. The Health column then shows:

  • the HTTP status code of the response, for example 200 or 404,
  • 0 if the request failed, for example because of a timeout or a DNS error,
  • n/a if the link has no destination URL or was never checked.

The notification Health check completed appears in every case, so read the result in the Health column. Health checks run only when you click the button. They do not change whether a link redirects.

Export CSV downloads a file named vlp-export-YYYYMMDD-HHMMSS.csv with all links and these columns:

id,name,slug,is_active,destination_url,fallback_url,starts_at,expires_at,max_clicks,one_time

Passwords, webhook settings, notes and visit records are not exported. A copy of each export file stays on the server in storage/app/tmp/.

Import CSV opens a dialog with the text field CSV Content. Paste the CSV text there. There is no file upload.

name,slug,destination_url,is_active
Summer Sale,summer-sale,https://example.com/sale,1
Docs,docs,https://example.com/docs,true
  • The columns are name, slug, destination_url and is_active, in this order.
  • The header row is optional. It is skipped only if it is the first line and its first column is name.
  • is_active is optional and defaults to active. 1, true, on and yes mean active.
  • One link per line. Empty lines, lines with fewer than three columns and lines with an empty name or slug are skipped.
  • If a link with the same slug exists, its name, destination URL and active state are overwritten. Its other options are kept. Otherwise a new link is created.
  • When finished, the notification CSV imported shows how many rows were processed.

Warning

The import does not check slugs. Reserved slugs and slugs with characters that the form rejects are saved as they are. Check your data before you import.

Warning

An export file cannot be pasted into the import as it is. Its first column is id, so the columns are shifted and the header line is imported as a link. Remove the header line and the id column first, and keep only name, slug, destination URL and active state.