How do campaign hierarchies aggregate marketing ROI and member engagement across multi-tiered marketing campaigns?
Answer
Basics: Large programs (for example an annual event with webinars and email nurtures beneath it) need totals. Hierarchy lets you view both the individual tactic and the overall program ROI.
How it works:
- Set the Parent Campaign lookup on each child campaign.
- Add the hierarchy statistic fields to the layout, such as Total Leads, Contacts, Responses, Opportunities, Won Opportunities, Value Opportunities, Value Won Opportunities, Budgeted Cost and Actual Cost in Hierarchy.
- Salesforce calculates these across all descendants automatically; they are read-only.
- Opportunity statistics count opportunities linked through the Campaign Source field; they do not use Campaign Influence.
- Use the Campaign Hierarchy view or hierarchy reports to see members and results.
Advanced / deep dive: Hierarchy totals count each person per campaign, so a contact in two children counts twice in member totals. Costs are entered manually; only the hierarchy versions are rolled up. For multi-touch attribution use Customizable Campaign Influence (influence models, Campaign Influence records) instead of the Primary Campaign Source, because the single-source stats credit one campaign only. Hierarchy rollups can lag after bulk member loads. API field names are like HierarchyAmountWonOpportunities and HierarchyActualCost, useful for formula fields and integrations. Marketing automation tools (Account Engagement, Marketing Cloud) often write members and cost data.
Code / config example:
Formula field on Campaign: Hierarchy ROI (Percent)
IF(HierarchyActualCost > 0,
(HierarchyAmountWonOpportunities - HierarchyActualCost) / HierarchyActualCost,
NULL)
Hidden gotchas & must-remember points: