How do you keep the numbers on your marketing pages from going stale?

by

I got burned by this. My site says things like "152 label formats" and "114 countries" on hundreds of pages. When the real count changed, prose across dozens of pages kept the old number for weeks.

What I do now:

The counts live in one constants file, and pages read from it instead of hard-coding.

A prebuild script scans every generated page and fails the deploy if any page states a format count, country count or plan limit that disagrees with the constants.

A separate verify script hits production after deploy and checks the same numbers live.

It caught three contradictions the first time it ran, including a tools hub that said "23 tools" while linking to 30.

How do you stop prices, counts and claims from drifting across a big site? Or do you just grep and hope?

18 views

Add a comment

Replies

Be the first to comment