Working with Custom Fields
Learn how to use custom fields with Liquid in ConvertKit
Custom fields in ConvertKit allow you to store additional information about your subscribers beyond the default fields. This guide will show you how to effectively use custom fields with Liquid to create personalized content.
What are Custom Fields?
Custom fields are additional data points you can store for each subscriber. They're perfect for:
- Storing subscriber preferences
- Tracking user behavior
- Managing course progress
- Storing purchase history
- Recording survey responses
Accessing Custom Fields
Basic Access
Checking if a Field Exists
Common Custom Field Types
Text Fields
Number Fields
Date Fields
Boolean Fields
Advanced Custom Field Usage
Multiple Field Conditions
Field-Based Content Sections
Progress Tracking
Best Practices
-
Use Descriptive Field Names
-
Always Check for Field Existence
-
Use Appropriate Data Types
- Use text fields for strings
- Use number fields for calculations
- Use date fields for date operations
- Use boolean fields for true/false conditions
-
Keep Field Names Consistent
- Use snake_case for field names
- Be consistent across your templates
- Document your field names
-
Handle Edge Cases
Common Use Cases
Course Progress
Purchase History
Survey Results
Troubleshooting
-
Field Not Showing
- Check if the field exists
- Verify the field name spelling
- Ensure the field has a value
-
Incorrect Data Type
- Use appropriate filters for the data type
- Convert between types when needed
- Handle null values
-
Performance Issues
- Limit the number of custom fields accessed
- Use efficient filters
- Cache complex calculations
Next Steps
Now that you understand custom fields, you can:
- Create personalized email content
- Track user progress
- Segment your audience
- Create dynamic forms
- Build advanced automation workflows
Need more help? Check out our examples section for more practical implementations.