Overview
Personalization macros are dynamic placeholders you can paste into a campaign’s message body, subject line, or template. When the message is delivered, each macro is replaced with a value pulled from the recipient’s contact record, your brand configuration, or a predictive model. Used well, macros turn a single template into thousands of one-to-one messages.
This article lists every macro currently available in the Campaign Builder’s Personalization panel, grouped by category, with a description of what each one returns.
Note: Messages won’t be sent if the required data for a macro is missing. Always provide fallback copy when using macros that depend on data that may not exist for every contact (for example, predicted top product or favorite store).
In this article, you’ll learn
What personalization macros are and how they work
How to insert a macro into a campaign
The full list of macros, organized by category
Where the underlying data for each macro is configured
How to troubleshoot macros that render as blank or literal text
Prerequisites
Before getting started, ensure you have:
A user role with access to the Campaign Manager.
Marketing
Marketing Analyst
Operator
Owner
How to use Personalization Macros
Navigate to Marketing > Campaigns and open the campaign you want to edit (or create a new one).
Open the Content step of the campaign.
In the message editor, click Personalization to open the Personalization macro panel.
Browse macros by Category, or use the search field to find a specific macro by name.
Click the copy icon next to the macro you want. The macro is copied to your clipboard.
Paste the macro (for example, {{firstName}}) into the message body, subject line, or template field where you want the value to appear.
Save the design and continue to the next campaign step.
Warning: If required data is missing for a macro on a given contact, that contact will be skipped from the send. Always pair macros with fallback copy, or segment your audience to ensure the underlying data exists.
Available Macros by Category
The Personalization panel organizes macros into five categories: Contact, Social, General, Prediction, and Order. Each section below lists every macro in the group and describes what value it returns when the message is sent.
Contact (17)
Profile, location, and loyalty fields stored on the contact record. Most campaigns use these as the foundation of personalization.
Macro | Description |
| The contact's favorite store. |
| The contact's favorite store shop URL. |
| The favorite store disclaimer text configured for the contact's preferred store. |
| The favorite store avatar (image) configured for the contact's preferred store. |
| The abandoned cart location, for "finish your checkout at {{abandonedCartLocation}}" style messages. Requires a mapped store name in Settings > Company Account > Retail Stores. |
| The contact's first name. |
| The contact's last name. |
| The contact's full name. |
| The contact's email address. |
| The contact's phone number. |
| The contact's state. |
| The contact's city. |
| The contact's ZIP code. |
| The contact's current loyalty points balance. |
| The contact's unique ID. |
| The contact's total loyalty points earned (lifetime). |
| The contact's total loyalty points redeemed (lifetime). |
Social (13)
Outbound links to your favorite-store profiles on social networks, review platforms, and external services.
Macro | Description |
| The contact's favorite store Apple App Store link. |
| The contact's favorite store Google Play link. |
| The contact's favorite store Instagram link. |
| The contact's favorite store Twitter (X) link. |
| The contact's favorite store Google profile link. |
| The contact's favorite store Facebook link. |
| The contact's favorite store Yelp link. |
| The contact's favorite store Weedmaps link. |
| The contact's favorite store Leafly link. |
| The contact's favorite store Tattle (review) link. |
| The text message landing page URL associated with the campaign. |
| The contact's Forsta survey URL. |
| The email opt-in URL for the contact. |
General (11)
Campaign- and brand-level values such as your brand name, send date, and platform URLs (wallet, loyalty, opt-in/opt-out).
Macro | Description |
| Your brand name. |
| The date the message is sent. |
| The URL to the contact's favorite store review widget. |
| The URL to the contact's wallet. |
| The URL to the contact's wallet sign-up flow. |
| The loyalty program sign-up URL. |
| The refer-a-friend URL. |
| The Tattle feedback URL. |
| The email opt-out (unsubscribe) URL. |
| The wallet pass download URL for Apple Wallet. |
| The wallet pass download URL for Google Wallet. |
Prediction (4)
Values generated by AIQ's predictive models. Use these to recommend the next product, brand, SKU, or category each contact is most likely to engage with.
Macro | Description |
| The product the contact is most likely to buy next, based on AIQ's prediction model. |
| The SKU the contact is most likely to buy next. |
| The brand the contact is most likely to buy next. |
| The product category the contact is most likely to buy next. |
Order (3)
The most recent purchase a contact has made. Useful for post-purchase follow-ups and replenishment campaigns.
Macro | Description |
| The contact's most recently ordered product. |
| The brand of the contact's most recently ordered product. |
| The category of the contact's most recently ordered product. |
Troubleshooting
Issue: The macro renders as blank or empty in the preview.
Solution: The underlying data is missing for that contact. Verify the field is populated on the contact record. For store-related macros, ensure a favorite store is mapped in Settings > Company Account > Retail Stores.
Issue: Contacts are being skipped from the send.
Solution: When a required macro has no value for a contact, that contact is excluded from delivery. Either segment your audience to only contacts with the required data, or rewrite the message with optional fallback copy.
Issue: A Prediction macro returns no value.
Solution: Predictive macros require sufficient purchase history for AIQ’s models to generate a recommendation. New contacts and contacts with little activity may not have predictions available.
FAQ
Can I use macros in the subject line?
Yes. Macros work in the subject line, preheader, body, and any HTML or template field that accepts text.
What happens if data is missing for a macro?
The contact is skipped from the send for that message. To avoid this, segment your audience or use macros only where the supporting data is guaranteed to exist.
Are macros case sensitive?
Yes. Always copy macros directly from the Personalization panel to preserve exact spelling and casing.
Do macros work in SMS as well as email?
Yes. Macros are channel-agnostic and can be used in Email, SMS, Push, In-App, Direct Mail, Wallet Pass, and other supported channels.
Need Help?
If you need assistance, reach out to AIQ Support anytime via the chat widget within your AIQ Dashboard.

