Geotargeting States In WordPress

Another use case which does seem to come up a bit is in targeting content to a Particular state.
In WP Marketing Suite we can easily enough print out the users city:Ashburn, state code: VA, and country name United States.

This however is not conditional, and is just putting up on the screen data out of the Geo Database.

To truly target content to a state, we can create a conditional for that state code.

So if I am coming to the site from Victoria Australia, I can create a simple conditional that is the following:

St Kilda Content[/wpms]

Leave a Reply

Your email address will not be published.