Customize content based on the location of the visitor.
CloudCannon Hosting automatically injects the viewer's country code into the HTML element's class as it is served.
You can enable geolocation in Site Settings / Hosting.
If a viewer is from New Zealand, the class country-nz
is added to look like this:
Use CSS to show and hide elements:
Run custom JavaScript based on country code:
Here are the country codes supported: