How to Geotarget Elementor Content (Sections, Columns, or Widgets)
Looking for a way to geotarget Elementor content on your WordPress site? In this post, you'll learn how to geotarget individual Elementor widgets, columns, or sections right from the regular Elementor page builder interface.
That is, you can display one Elementor widget to a visitor from Germany, and a different widget to a visitor from the USA. Or, you could geotarget an entire section and all the widgets inside.
With this functionality, you'll be able to create unique Elementor experiences that are tailored to each individual visitor's location.
Ready to get started? Let's dig in…
What You'll Need to Geotarget Elementor Content
Geotargeting Pro has a built-in Elementor integration that lets you geotarget your Elementor content to any country, state, city, etc. There's no need to learn a new interface or add a new workflow, either - you'll do everything right from the normal Elementor side panel.
What's more, you'll be able to geotarget:
Or, you can also geotarget entire pages that you've built with Elementor.
In order to use the Geotargeting Pro plugin, you'll need to subscribe to the Geotargeting WP service. However, Geotargeting WP offers a 14-day free trial, so you can follow this tutorial without spending a dime.
Here's how to set everything up...
Step 1: Activate the Geotargeting Pro Plugin on WordPress
To get started, sign up for your Geotargeting WP account (remember - you get a 14-day free trial to test it out).
Then, download the Geotargeting Pro plugin from the Geotargeting WP site and install the plugin at your WordPress site.
Once you've activated the plugin at your WordPress site, go to the GeoTargetingWP area in your WordPress dashboard and enter your API Key and API Secret:
You can find these values in the API Keys area of your GeotargetingWP account. You'll also need to add your website to the Allowed domains list at the Geotargeting WP website:
Now, you're ready to geotarget Elementor content!
Step 2: Add Geotargeting in Elementor Interface
Once you activate the Geotargeting Pro plugin, it automatically integrates itself into Elementor to help you start geotargeting content.
Whenever you edit a:
You'll have a new Geotargeting tab in the Elementor sidebar:
In the Geotargeting tab, you'll get separate accordion sections that let you target:
- Zip Codes
- Regions (e.g. continents, or custom regions that you've set up in Geotargeting Pro's settings)
In each section, you'll be able to either Include or Exclude geographic areas:
- Include - only show to these listed countries
- Exclude - show to all countries EXCEPT these listed countries
Let's say you want to create two buttons - one for visitors from Germany, and another for visitors from anywhere else (except Germany).
First, you'd create a button dedicated to German visitors and use the Include rule to only target that button to German visitors:
Then, you'd add a second button widget at the same spot in your design for the rest of the world. Only this time, you'll use the Exclude rule to stop German visitors from seeing that button:
And that's it! German visitors will see one button, and everyone else will see the other button.
Using this interplay of include and exclude rules, you'll have pinpoint control over the geotargeting for every single Elementor widget, column, or section.
Note, if you're interested in how to geotarget entire posts or pages built with Elementor, check out our general post on how to customize WordPress content based on location.
Any Questions on How to Geotarget Elementor Content?
That wraps up our guide on how to display different Elementor content based on a user's location.
If you have any questions, leave a comment and we'll try to help!