# Personalization > Dynamic variables for notification titles, messages, and URLs. Where each variable works, how fallbacks behave, which product is picked, and how to avoid broken copy. Source: https://docs.pinglane.com/automations/personalization/ Variables are placeholders inside double curly brackets, such as `{{ product_name }}` or `{{ first_name | default: 'there' }}`. When PingLane sends a notification, it replaces each placeholder with the live details for that store, shopper, or product so messages feel personal without manual editing. ## All variables and where they work | Variable | Replaced with | Notifications & Reminders | Welcome | Browse Reminder | Cart Recovery | Price Drop & Back in Stock | | -------------------------- | --------------------------------------------- | ------------------------- | ------- | --------------- | ------------- | -------------------------- | | `{{ first_name }}` | Shopper’s first name (or fallback) | Yes | Yes | Yes | Yes | Yes | | `{{ customer_name }}` | Shopper’s full name (or fallback) | Yes | Yes | Yes | Yes | Yes | | `{{ last_name }}` | Shopper’s last name | Yes | Yes | Yes | Yes | Yes | | `{{ store_name }}` | Your Store Name from Store Settings | Yes | Yes | Yes | Yes | Yes | | `{{ store_url }}` | Your Store URL | Yes | Yes | Yes | Yes | Yes | | `{{ product_name }}` | Product title | No | No | Yes | Yes | Yes | | `{{ price }}` | Product or variant price (plain number) | No | No | Yes | Yes | Yes | | `{{ currency }}` | Store currency code | No | No | Yes | Yes | Yes | | `{{ product_url }}` | Product page link | No | No | Yes | Yes | Yes | | `{{ cart_url }}` | Store cart page link (`/cart`) | No | No | Yes | Yes | No | | `{{ collection_url_all }}` | All products collection (`/collections/all/`) | No | No | Yes | Yes | Yes | | `{{ checkout_url }}` | Store checkout page (`/checkout`) | No | No | No | Yes | No | The notification editor only shows variables supported by the message type you are editing. Use the editor’s variable picker rather than typing braces by hand so spelling and fallback syntax are always valid. You can use variables inside the **title**, **message**, **landing URL**, **action button labels** (`{{ store_name }}`), and **action button URLs**. A URL can contain **at most one variable**, either on its own (`{{ product_url }}`) or as the start of a path (`{{ store_url }}/collections/sale`). ## Formatting prices safely `{{ price }}` outputs a plain number such as `49.99` without a currency symbol. Whenever you show a price, pair it with `{{ currency }}` (for example, `Now {{ price }} {{ currency }}`). In **Price Drop Alert**, `{{ price }}` always inserts the **new, lower price** that triggered the notification. In **Browse Reminder** and **Cart Recovery**, it inserts the price captured when the shopper viewed or added the item. ## Name variables and customer sync Customer name variables (`{{ first_name }}`, `{{ last_name }}`, `{{ customer_name }}`) only fill in when **both** are true: 1. The opted-in shopper is linked to a Shopify customer account (they were logged in while browsing, adding to cart, or checking out). 2. **Sync Logged-in Customer Details** and **First and last name** are enabled under **Settings → Web Push**. See [Linking shoppers to customers](/customers/customer-linking/). Because many shoppers opt in before creating or signing into an account, a large share of shoppers will not have a saved name yet. That is why **fallbacks** matter: * When you insert `{{ first_name }}` or `{{ customer_name }}` from the editor, PingLane automatically includes a default fallback: `{{ first_name | default: 'there' }}`. For an anonymous shopper, `Hi {{ first_name | default: 'there' }}` becomes `Hi there`. * You can edit `'there'` to another word such as `'friend'` or `'shopper'`. * `{{ last_name }}` does not include a fallback by default; add `| default: '...'` if you use it in a sentence. ## What happens when a value is missing | Missing value | What the shopper sees | | ------------------------------------------------- | ----------------------------------------------------------------------- | | **Customer name (with fallback)** | Your fallback word (such as `there`). | | **Customer name (no fallback)** | Empty text (`Hi {{ first_name }}!` becomes `Hi !`). | | **Product photo** | Falls back to your **Store Logo** from **Store Settings**, if uploaded. | | **Landing URL or button link (resolves empty)** | Opens your store’s home page (`Store URL`). | | **Misspelled variable (like `{{ frist_name }}`)** | Empty text. Unknown variable names are stripped out. | Always check the editor preview before saving. The preview fills sample values (`Alex`, `Classic Denim Jacket`) so you can verify spacing and punctuation. ## Which product a variable picks * **Browse Reminder:** Uses the **newest product added** to the open series at the moment each step sends (re-viewing an earlier product does not move it to the front). Title, photo, price, and link reflect the snapshot saved when the shopper viewed that variant. * **Cart Recovery:** Uses the **newest item added** that is still in the cart series at send time, with the title, photo, and price saved when the shopper added it. * **Price Drop Alert and Back in Stock:** Uses the specific product and variant the shopper requested, with its **current** title, photo, and price from the Shopify update. ## Writing tips * **Read your sentence with the fallback word substituted.** `"Hi there, your Oslo Boots are waiting"` reads cleanly; `"there, don't miss this"` does not. * **Place `{{ product_name }}` near the beginning.** Product titles can be long, and mobile devices often cut messages off after roughly 40 title characters or 100 message characters. * **Avoid putting `{{ price }}` in Browse Reminder titles** if your store changes prices frequently, because Browse Reminder displays the price from when the shopper viewed the item. ## Related * [Linking shoppers to customers](/customers/customer-linking/) * [Browse Reminder](/automations/browse-reminder/) * [Cart Recovery](/automations/cart-recovery/) * [Price Drop Alert and Back in Stock](/automations/price-drop-and-back-in-stock/)