What's inside โ full contents
Section 1
The real mechanic โ it starts in the email, not on the page
Why the pricing page doesn't detect anything. How data flows through the URL from your CRM before the email even sends.
Section 2
CRM setup โ what fields you need and how to get them
Email domain, company size band, and a calculated pricing tier field. Free enrichment tools that fill company size automatically from the domain alone.
Section 3
Building the pricing tier logic โ the calculated field
Workflow rules for HubSpot, ActiveCampaign, and any CRM. Personal vs business vs enterprise classification logic.
IF email_domain IN ["gmail.com", "hotmail.com"...]
THEN tier = "personal"
ELSE IF company_size IN ["201-500", "500+"]
THEN tier = "enterprise"
Section 4
Building the personalised link inside the email
Merge tag syntax for HubSpot, Mailchimp, and ActiveCampaign with correct fallback values so blank fields don't break the URL.
yoursite.com/pricing?tier={{contact.pricing_tier}}
&size={{contact.company_size}}
Section 5
The pricing page JavaScript
Full copy-paste code. Reads URL params on load, applies the correct plan highlight, shows or hides the enterprise sales contact block. No flicker, no form.
Section 6
Secure token encoding
How to sign the tier parameter with HMAC so users can't manually change ?tier=personal to ?tier=enterprise in their browser.
Bonus
How to spot it when it's being done to you
The incognito test, the Gmail test, and the exact email to send your account manager once you find a pricing discrepancy.