Wrong Slug Value

I am trying to stream templates using Pages. The Yext support team has assigned the slug field for each entity is:
country code / region / city / address line 1 / entity id

However, when I stream the data to the code and run it locally, the local stream data gives the country name rather than the code. For example, us turns into united-states.

Does the slug value need to be address.countryCode or should this be correct?

Hi @Belle_Roberts,

It believes that Since url structure is helpful factor in Search Engine optimisation/friendly aspect, you can use the full name for country which will allow you perform SEO at country specific locations. Accordingly you can use.
The country code can be used as name using displayname field available.