Good news, — I had it wrong in my last response! GPTWeb absolutely does have a built-in ordinal formatter. The
|ordinal formatter converts any number into its ordinal equivalent (1st, 2nd, 3rd, 4th, etc.). Here's how it works:
Syntax: {{raw:visitor.visit_count|ordinal}} Example: If a visitor is on their 3rd visit → renders as
3rd A perfect use case would be personalizing messages like
"Welcome back! This is your visit!" Sorry for the confusion in my earlier answer — the
|ordinal formatter is fully supported and available everywhere tokens work. For the full formatter reference, check out
Using Tokens.