What are Merge Tags?
Merge tags are placeholders in your cards that get replaced with dynamic, personalized content when the card is sent. They allow you to create one card template that can be customized for each recipient with their specific information.How Merge Tags Work
When you send a card via API:- Template: Your card contains merge tag placeholders like
{{name}} - Data: You provide the actual values in your API request
- Processing: CardClan replaces placeholders with real data
- Result: Recipient gets a personalized card
Merge Tag Syntax
Merge tags use double curly braces syntax:{{name}}→ “John Doe”{{company}}→ “Acme Corporation”{{email}}→ “[email protected]”
Standard Merge Tags
CardClan supports these commonly used merge tags:Personal Information
Personal Information
{{ name }}- Full name -{{ email }}- Email address
Custom Fields
Custom Fields
- Any custom field name you define - Examples:
{{ productName }},{{ accountManager }},{{ eventDate }}
Using Merge Tags in API Requests
When sending a card, provide merge tag values in themergeTags array:
The
mergeTags parameter expects an array, but typically contains a single object with the recipient’s data.Next Steps
Now that you have learned about merge tags:- Explore examples
- Explore the API reference for detailed endpoint documentation