You are here:
The basics of the Geotargeting plugin is to surround your content with shortcodes.
[geot country="Argentina"] Messi is the best! [/geot][geot country="Portugal"] Cristiano Ronaldo is the best![/geot][geot exclude_country="Argentina,Portugal"]We don't like soccer[/geot]
If the user above is from Argentina he will read that “Messi is the best”, while if he is from Portugal we will see “Ronaldo is the best”. Is the user is not from Argentina or Portugal he will see "We don't like soccer".
You can add shortcodes manually, but it’s easier using the visual editor button. Just press the “world icon” and choose the desired options to generate the shortcode.
To view full shortcodes options check this page.
We have a great set of resources in our blog, check for example this tutorial
Once you have your shortcodes or functions in place it’s time to test / debug your site. Please refer to debugging page in order to know how to do that.