---
title: "URL shorteners"
manual: "LUX"
version: "47.0"
permalink: "https://docs.typo3.org/permalink/in2code/lux:url-shorteners@47.0"
source: "Technical/Campaigns/UrlShortener.md"
rendered: "2026-11-27T16:33:24+00:00"
---

![LUX](../../Images/logo_claim.svg#gh-light-mode-only) ![LUX](../../Images/logo_claim_white.svg#gh-dark-mode-only)

#### URL shorteners {#url-shorteners}

This part of the manual describes how to manage URL shortener with lux.

URL shorteners help you to build individual short URL on your domain for your marketing campaigns. You can track visits of short URL usage per lead.

##### List view {#list-view}

If you open the backend module campaigns you can switch to "URL shortener" by clicking the button on the top. A list view is shown.

<!-- TODO: no Markdown rendering for "Raw" -->

<img width="800" />

This view works basicly like every other view in Lux. You can filter your shorteners per searchterm, category or per timeframe. Diagrams are showing you "overall usage", "top shortener" and visits from "socialmedia".

A click on an existing shortener will show you individual information about the leads that used this shortener.

##### Detail view {#detail-view}

If you click on the edit icon symbol, the edit view is opened. This view is similar to the view if you add a new shortener record.

<!-- TODO: no Markdown rendering for "Raw" -->

<img width="800" />

| Field | Description |
| --- | --- |
| Enabled | Toggle the status of this redirect. |
| From | Contains your short url (without a domain). This code must be unique in your system. |
| To | Select the internal or external target for the redirect |
| Lux category | Choose a category for better management of your shorteners |
| Description | You can add an internal description for what campaign this shortener is |
| QR code | If you need a QR code for your marketing campaign, you can download this PNG |
| Creation date | Note when was this record created |
| Author | Note to see who was creating this record |

##### Counting of visits {#counting-of-visits}

A short URL leads to an intermediate page, where LUX JavaScript reads the target of the redirect with a request. This request is needed with and without opt-in:

-   **Without opt-in:** The request contains no identification. The visit is counted anonymously with referrer, but without visitor and without log entry. No workflow is executed.
-   **With opt-in:** The visit is counted with the visitor and a log entry, workflows are executed.

Crawlers and requests without user agent are redirected but not counted. Link scanners that do not execute JavaScript (e.g. link previews in messengers or security scanners of mail servers) are not counted either, because they do not send the request.

**Note for developers:** Without a visitor, `AfterTrackingEvent` is not dispatched for `redirectRequestAction` any more (since LUX 47.0.0). Listen to `AfterAnonymousTrackingEvent` to handle such requests.
