Country Code Normalizer Data Hook®

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

Country Code Normalizer Example

The Data Hook below shows one way to normalize country codes in your data. The JavaScript should work as-is, and you can even copy and paste it int 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 country code sample data to see the Data Hook in action.