Sub topic 2
Where Personalisation Data Comes From
This chapter assumes you can send a campaign in an email platform and know what contacts, lists and fields are. Every personalised email depends on data stored about each recipient. Before you write a merge tag, you need to know where that data lives and how it gets there.
The contact record
Most platforms store one record per contact. A record is a set of named fields, each with a value:
- Standard fields come with the platform, such as email address, first name, last name and country.
- Custom fields are ones you create, such as
plan,renewal_dateorfavourite_category.
A merge tag reads one field from the record of the person receiving the email. This example uses Liquid-style syntax. Tag and field names vary by platform.
Hi {{ customer.first_name }}, your plan is {{ customer.plan }}.If a field has no value for a contact, the tag prints nothing. The next chapters cover how to handle that.
Four common sources
Data reaches the contact record in different ways. Each way has different reliability and freshness.
| Source | Example | Typical strength | Typical weakness |
|---|---|---|---|
| Signup forms | First name typed into a form | Given directly by the person | Often skipped, mistyped or inconsistent |
| Imports | A CSV uploaded from a CRM | Large volume at once | Stale as soon as it is uploaded |
| Integrations | Shop or CRM sync, API calls | Updates automatically | Field mapping can break silently |
| Behaviour and events | Order placed, link clicked | Reflects what people actually do | Needs consent and careful handling |
The first three mostly fill fields about who the person is. The fourth records what they did. Behavioural data gets its own chapter later.
How data flows to the template
The template does not hold any personal data. At send time the platform looks up each recipient's record and fills in the tags.
The consequence is that an email can only be as good as the record behind it. A flawless template still sends "Hi ," if the record is empty.
Field mapping
When you import a file or connect a system, you map source columns to platform fields. A column called FName must be mapped to first_name, or the data never arrives. Check three things when you map:
- The target field exists and its name matches what your tags use.
- The field type fits the data. Dates should go into date fields, not text fields, so you can format and compare them later.
- The sync direction is what you expect. Some integrations overwrite platform values on every sync.
Common errors
- Assuming a field is filled. Optional form fields are often blank. Check how many contacts have a value before you build an email around the field.
- Using stale data. A
planfield imported six months ago may be wrong today. Prefer synced fields for anything that changes. - Mixing up similar fields.
name,first_nameandfull_namemay all exist and hold different content. - Collecting more than you need. Each field you personalise on must be justified. The privacy chapter covers this limit.
Exercise
A shop imports its customers from a CSV and also syncs orders through an integration. The team wants to write "Your last order was on {{ customer.lastorderdate }}". Which source should supply lastorderdate, and why?
Show answer
The integration. Order dates change with every purchase, so a one-time CSV import goes stale. The integration updates the field automatically. The team should also confirm the field is a date type so it can be formatted.