> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/convert/url-shorteners.md).

# URL Shorteners

Create shortened and tracked links with your domain for any URL on the web.

To shorten your URL, follow the step-by-step guide:

Click on '**Link**' and then on '**URL Shorteners**'.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FQiQlGGNKy6OjZO7WYeVN%2Fimage.png?alt=media&amp;token=121fe842-930d-45a3-8232-f6f8874dfee7" alt=""><figcaption></figcaption></figure>

Then click on '**New**';

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FtxbtfFnh1MdzK5D0zMiw%2Fimage.png?alt=media&amp;token=4dd640e3-6296-4575-af1e-ddd2fb323ec8" alt=""><figcaption></figcaption></figure>

Set up your URL;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FpjzU6xBibn40nlMSt54r%2Fimage.png?alt=media&amp;token=7fe7dbab-c5ca-4b00-b396-2bc2819c17f9" alt=""><figcaption></figcaption></figure>

**Published**: To keep the URL **active** click 'Yes' if you want to **deactivate it** click 'No'.

**First name**: Define a name for the URL.

**Alias**: Enter what you want to appear after the slash (/) in the URL. \
*Example*: *`https://www.example.com/product`* .  In the example, the "**Product**" is the Alias.

If you leave the field blank, the system will automatically create an alias.&#x20;

**Original URL**: Enter the URL to which the lead will be redirected after clicking the shortener.

**Metadata**: Metadata provides additional information about the URL.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FLTa6MfeqHxv7SRlsS3ED%2Fimage.png?alt=media&amp;token=17bf6440-73fd-43bb-803e-5f0988433a50" alt=""><figcaption></figcaption></figure>

**Title**: This title is usually displayed in the browser tab and on search engine results pages.

**Icon**: It is a small icon usually displayed in the browser tab next to the page title or in the address bar.

**Image**: The featured image is a specific image that can be associated with a web page, usually used when the page is shared on social media, in messages, or in search results.

**Author**: The page author can be specified as part of the URL metadata, especially on sites where multiple people contribute to the content.

**Description**: The description is a brief summary of the web page content.

**Keywords**: Keywords are relevant terms or phrases that describe the page content.

After configuring and adding all the necessary information, click on '**Save and Close**', copy the link to your URL, and it will be ready to be sent!

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FvgeEUVPrZ819pcx13A9j%2Fimage.png?alt=media&amp;token=345e1bfc-642c-443a-b1ae-ef67cc5dfe76" alt=""><figcaption></figcaption></figure>

## To view click data and identify the Leads who performed the action:

* Click on the shortened URL without editing it;
* The statistics area will display information about clicks, Leads, and recent activity. In addition, you can check the Lead history to verify whether they clicked the URL and which link was accessed.

{% hint style="info" %}
*<mark style="color:blue;">In addition to identified Leads, it is also possible to view anonymous and archived Leads. Anonymous Leads are those captured through tracking, but that do not have enough data, such as name or WhatsApp, to be identified.</mark>*
{% endhint %}

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FM96WDrhwjdAzhz6Foh7X%2Fimage.png?alt=media&amp;token=713f20ef-3aba-432e-afca-2e8eea4df95c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FvD4NuN9E1jmumo60Fyfa%2Fimage.png?alt=media&amp;token=f5c5080d-6c00-475a-9898-f8d99cfadc6d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzGThxONxt0iTGakjCrNI%2Fimage.png?alt=media&amp;token=bb0bd5e9-62fe-4adc-8263-6da4d0795085" alt=""><figcaption></figcaption></figure>

### Sending a shortened URL to an identified Lead:

In cases where the URL is sent by SprintHub via WhatsApp messages or email, it is necessary to add a token to the end of the original URL to identify the Lead who clicked the link.

```
?lid={contactfield=id}
```

Example: <https://suainstancia.sprinthub.app/calendar/calendarname?lid={contactfield=id}>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FOh1Zel3oFkk3NyRLOWiC%2Fimage.png?alt=media&amp;token=d109fbc0-f550-4ac9-96f3-b0305dbc0696" alt=""><figcaption></figcaption></figure>

The use of the identification token in the shortened URL is essential to accurately track Lead interactions. It allows each click to be linked to the corresponding Lead, ensuring that all actions are recorded in the history in an automated and organized way. This practice improves the monitoring of Lead behavior and facilitates strategic decision-making based on reliable data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/convert/url-shorteners.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
