Sub topic 11
Tagging Subscribers by Lead Magnet Source
This chapter assumes you know what an email list is, have an opt-in form on a landing page, and can read short HTML and Python snippets. Every later measurement depends on one habit: record where each subscriber came from at the moment they sign up.
Why source tagging comes first
A list with 2,000 subscribers tells you almost nothing. A list where each subscriber carries the name of the lead magnet they signed up for tells you which offers attract readers and buyers. If you don't record the source at signup, you usually can't reconstruct it later. People forget, and your email tool only knows the address.
A source tag is a short label stored on the subscriber record. It answers one question: which offer did this person say yes to?
Capture the source in the form
The simplest method is a hidden field in the opt-in form. The visitor never sees it, but it is submitted with the email address.
<form action="/subscribe" method="post">
<label for="email">Email address</label>
<input type="email" id="email" name="email" required>
<input type="hidden" name="source" value="onboarding-checklist">
<label>
<input type="checkbox" name="consent" required>
I agree to receive the checklist and related emails. I can unsubscribe at any time.
</label>
<button type="submit">Send me the checklist</button>
</form>Each lead magnet gets its own form, or its own value in the source field. Your email tool then saves that value as a tag, a custom field, or a list membership. Names vary by tool, but the idea is the same.
Choose tag names you can still read in a year
Use a consistent pattern so reports stay clean:
- Use lowercase words joined by hyphens, such as
onboarding-checklist. - Name the offer, not the page or the campaign date.
- Keep one tag per magnet. Don't reuse a tag for a different offer.
- Add a second tag only when it carries new information, such as
interest-reportingfor a topic the subscriber chose.
| Weak tag | Better tag | Problem with the weak tag |
|---|---|---|
| `new` | `onboarding-checklist` | Says nothing about the offer |
| `Checklist 2` | `pricing-template` | Number has no meaning later |
| `website` | `webinar-replay` | Records the channel, not the offer |
Source versus interest
Source and interest are different. Source records the offer the person accepted. Interest records what they do afterward, such as clicking links about a certain topic. Set the source once, at signup, and never overwrite it. Add interest tags as behavior accumulates.
Use the tag
Once tags exist, they do two jobs. First, they let you send a welcome sequence that matches the promise the person signed up for. Second, they let you group results by source. The next chapter covers the measurements. This short function shows the grouping idea:
from collections import Counter
subscribers = [
{"email": "[email protected]", "source": "onboarding-checklist"},
{"email": "[email protected]", "source": "onboarding-checklist"},
{"email": "[email protected]", "source": "prize-giveaway"},
{"email": "[email protected]", "source": ""},
]
counts = Counter(sub["source"] or "untagged" for sub in subscribers)
print(counts)The output shows two onboarding-checklist, one prize-giveaway, and one untagged. Any untagged count above zero means a form or import is missing the field.
Common errors
- Forgetting imports. Subscribers added by CSV upload or manual entry arrive without a source. Tag them at import time.
- Overwriting the source. If a returning subscriber fills out a second form, keep the original tag and add the new one. Otherwise you lose the first signup.
- Inconsistent spelling.
Checklistandchecklistbecome two groups in many tools. - Tagging only at the end of the welcome sequence. Subscribers who leave early are exactly the ones you need to count.
Exercise
A subscriber who joined through "onboarding-checklist" later fills out the form for "pricing-template". Should the system replace the first source tag with the second? Explain why.
Show answer
No. Keep the original onboarding-checklist source and add pricing-template as an additional tag. Overwriting would erase which offer first attracted the person, which distorts per-source quality measurements.