> For the complete documentation index, see [llms.txt](https://docs.mailrocket.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mailrocket.io/getting-started/advanced-features/personalized-link.md).

# Personalized link

Mail Rocket allows you to include personalized hyperlinks in your email campaigns, directing each recipient to a unique URL. Follow these steps to create and integrate personalized links seamlessly:

### **Use the =HYPERLINK Formula in Google Sheets**

Create or open your Google Sheets document containing your recipient list.

* Insert a new "**link**" column to your contact list
* Use the `=HYPERLINK` Formula
* For Example, `=HYPERLINK("https://example.com", "Visit Example Website")`

{% hint style="warning" %}
Replace `"https://example.com"` with your desired URL and `"Visit Example Website"` with the text you want to display for the hyperlink.
{% endhint %}

<figure><img src="/files/UV4R92ggh0UDRlA9dWTL" alt=""><figcaption></figcaption></figure>

### **Adding Personalized Links to Your Email Template**

Open Mail Rocket and create a new email template or edit an existing template.

* Go to **extensions -> Mail Rocket: Mail Merge For Gmail -> Create Mail Merge**

<figure><img src="/files/Y5VFVZSrachfLtxYXHyy" alt=""><figcaption></figcaption></figure>

* In the email template editor, click on "**Insert variable**" in the toolbar.
* Choose the "**Personalized links**" variable from the dropdown list. This variable will appear only if you have a corresponding "**link**" column in your spreadsheet.

<figure><img src="/files/F1FI6jOvAT4Xk2f4p0hA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/S9erpT04ab3Qwswp8ed0" alt=""><figcaption></figcaption></figure>


---

# 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.mailrocket.io/getting-started/advanced-features/personalized-link.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.
