--- { "title": "Country Content", "language": "en", "category": "Plugins", "description": "A basic AjaxLoader wrapper that inserts AJAXed-in content based on a visitor's country as determined by https://freegeoip.net", "tag": "country-content", "parentdir": "country-content", "altLangPrefix": "country-content", "dateModified": "2014-08-07" } ---
{{description}}
I'm the content that is shown when the country can't be resolved or the country that is returned does not have additional content.
<div data-ctrycnt="ajax/country-content-{country}-en.html">
<h4>Hello World</h4>
<p>I'm the content that is shown when the country can't be resolved or the country that is returned does not have additional content.</p>
</div>
Note: the page must be refreshed to see the changes from resetting or changing the country code. This will impact all examples on this page.
Override the country used for the replacement content. Try setting the value to "us" to simulate a user coming in from the United States or "ca" for Canada.