# First Name

To automatically inject SmartText with the user's first name, you would use the **{{first\_name}}** keyword in the `<smart>` text attributes.

If the users is signed into your Thinkific site then it will always use their First name that they used when registering.

If the user is not logged in then it will look for:

* **query parameter - first\_name:** ex: <https://yoursite..thinkific.com?first\\_name=Samantha>. You can use these types of links from your email marketing system when sending out marketing emails.
* **local browser storage:** once the name is detected via a signed in Thinkific user or via a query parameter, then it will be stored in the users browser. When the user returns to you site or navigates to another page without the query parameter, then it will attempt to use the name that is stored in the browser

### Demo

{% embed url="<https://www.loom.com/share/757e5c4eac7a410c8c374f58852e887a>" %}


---

# Agent Instructions: 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:

```
GET https://docs.superpowerups.com/smarttext/site-page-personalization/smarttext-personalization/first-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
