US State Normalizer Data Hook®

To add a Data Hook, click the Data Hooks tab and follow our Data Hooks guide.

US State Normalizer Example

The Data Hook below shows one way to reconfigure US state names into US state postal codes. The JavaScript should work as-is, and you can even copy and paste it into your own list of Data Hooks in your data template.

Sample Data Template

Since all Data Hooks must be attached to a data template, feel free to use the sample data template (and sample data) below to test out the Data Hook above.

Sample Data

Feel free to use our state code normalization sample data to see the Data Hook in action.