CF Geo Plugin

Description

CF Geo Plugin is GeoMarketing tool that allows you to have full geo control of your WordPress. CF Geo Plugin gives you ability to attach content, geographic informations, geo tags, Google maps to posts, pages, widgets and custom templates by using simple, options shortcodes, PHP code or JavaScript. It also lets you to specify a default geographic location for your entire WordPress blog, do SEO redirection, spam protection, WooCommerce control and many more. CF Geo Plugin help you to increase conversion, do better SEO, capture leads on your blog or landing pages.

FREE AND PAID SERVICES

CF Geo Plugin uses a combination of free and payed services that return information about the locations.

CF Geo Plugin is free by itself but API lookup is limited to 300 lookups per day for the free users. If you like to have UNLIMITED lookup, please visit official website for the more informations.

NOTE: We not place prices on this page because we reserve the right to change these prices and often have monthly promotions and discounts. Please, for the more informations look our prices on the official website.

BENEFITS

SERVER & WORDPRESS
There is no need to buy expensive and heavy databases
No affect on the site performances
Full support for the WooCommerce, Contact Form 7, Yoast SEO, WP Super Cache and other most popular plugins

SEO INTEGRATIONS
Redirects visitors to a blog page based on their geo informations by SEO rules
Redirects visitors to a predefined URL based on their geo informations by SEO rules
Allows you to configure multiple redirection rules as needed for the pages and enthire website
Supports 301, 302, 303 & 304 HTTP redirection
Supports IPv4 and IPv6
Geo Tag Generator attach Geo Tags in the head of your website for the specific pages
– **Cache support***

GEOMARKETING
Create marketing campaigns targeted only at certain locations.
Create landing pages targeted only at certain locations.
Create banners, videos and any other content targeted only at certain locations.

E-COMMERCE | WooCommerce
Country Payment Control for your WooCommerce instalation
Display local currency, local symbol or converter
Use currency converter to calculate price in local currency

ANTI SPAM PROTECTION
Spam protection from the danger visitors or spammers
Blocking access on the website from the specific user defined locations
Blocking IP Addresses from accessing on the website

LOCALIZATION
Redirect incoming traffic to content in the local language or currency.
– Businesses with local branches can direct customers to a relevant physical location or local microsite.

LEGAL REQUIREMENTS
Filter required legal notices, text, forms, etc. from countries for whom those content may not be relevant.

Compatibility

This plugin is compatible with any WordPress installation, also compatible with Contact Form 7, WooCommerce, Nord VPN proxy service and support Cloudflare.

All CF Geo Plugin 7.x.x Features

  • Geo Plugin – Allows you to attach geographical information inside your content via Shortcodes, PHP and JavaScript objects
  • Geo Banner – Allows you to place dynamic content, images, videos and pages using shortcodes for specfic audience target by geo location
  • Google Map – Allows you to attach Google Map inside content
  • Get Tag – Allows you to generate precise Geo Tags for your pages and custom posts
  • Anti Spam Protection – Allows you to block acces on blog from spam IP addresses and specific geo locations
  • Cloudflare Geolocation Support – Cloudflare support for visitor geolocation
  • DNS Lookup – Allows you to attach visitor DNS informations
  • SSL Support – Keep you safe
  • Cache Support – Allow other cache plugins to be integrated and supported
  • PROXY Settings – Allows you to use PROXY for the lookup
  • SEO Redirection – Allows you to redirect any page, post or article
  • Country Flag Support – Allows you to attach visitor or custom country flags inside content
  • Include Content by Geolocation – Allows you to include content by geolocation
  • Exclude Content by Geolocation – Allows you to exclude content by geolocation
  • Plugin Autoupdate – Allows you to keep your plugin up to date automaticaly
  • REST API – Allows you to become geo information provider

Basics usage and example

[cfgeo]
[cfgeo_city]
[cfgeo return="region"]
We just found shoes in [cfgeo_city] that you can buy for 50% discount.
[cfgeo ip="127.0.0.1" return="area_code"]
[cfgeo exclude="Toronto"] This text is seeing by everyone except Toronto people [/cfgeo]
[cfgeo include="New York"] This text seeing only people from New York [/cfgeo]

Usage & Example

GEO PLUGIN: Usage is simple. After installation and activation, in your post you just need to insert [cfgeo] shortcode and that’s it. Enter a shortcode as this and it returns and display IP adress to a visitor. If you like to display region (for example California for users who are from California), you just need to use return attribute in your shortcode like this: [cfgeo return="region"]. By changing the return settings, you can display any information from list above. Each user who comes to the site will see information related to their area.

If you whant to track some custom IP and return some information from that IP, you can do that by adding one optional attribute ip like on example [cfgeo ip="127.0.0.1" return="area_code"] what will return area code from that IP address.

If you like to ad default values to your shortcode if data is empty you need to add extra attribute in your shortcode like this example [cfgeo return="country_code" default="US"] what will return US if geoplugin can’t locate country code.

If you need to exclude some content from your page based on user location, you can do that using the exclude attribute like this:

[cfgeo exclude="Toronto, Québec"] This text is seeing by everyone except people from Toronto and Québec [/cfgeo]

If you need to display some content in your page based on user location, you can do that using the include attribute like this:

[cfgeo include="New York, Miami, Germany"] This text seeing only people from New York, Miami and Germany [/cfgeo]

GOOGLE MAP: If you whant to place simple google map in your post or page, you just need to place shortcode [cfgeo_map] and your visitor will see own city on google map by default.

Like example, you can display own company street address inside Google map like this: [cfgeo_map longitude="-74.0059" latitude="40.7128" zoom="15"] and pointer will show your street and place where you work.

Google map also allow you to use HTML inside map and display info bar:

[cfgeo_map longitude="-74.0059" latitude="40.7128" zoom="15" title="My Company Name"] 
   <h3>My Company Name<h3> 
   <p>No Name Street 35, New York, USA</p> 
   <p>We have what you need</p> 
[/cfgeo_map]

With this plugin you can easy setup your google map.

GEO BANNER: With this plugin you have also ability to make a dynamic content (text, images, banners, videos…) and target your messages to people from certain regions, track IP address, setup WordPress to work on user’s timezone, etc. The possibilities are huge, you can increase conversions, use this plugin like support for your custom template, build your own plugin and use CF Geo Plugin like additional option, etc.

You just need to create a new banner, place your content, select rules (country, region, city) save your banner, after that in your page pickup banner shortcode and place inside content.

COUNTRY FLAG You can display country flags in text or like image.

If you like to display country flag in your text like icon, you can do that simple like:

[cfgeo_flag] - and you will see flag in your text.

If you like to display country flag in your content like image, you can do that also simple using img or image attributes like:

[cfgeo_flag img] - and you will see image flag in your content

You also can give custom sizes of flags in %, px, in, pt or em using size attribute like this:

[cfgeo_flag size="32px"] - and you will see your flag in that size. You can use this size in image and normal text mode also.

You also can display custom flag using country attribute by placing country code simple like:

[cfgeo_flag country="ca"] - and you will see flag in your text or like image.

We allow you also full controll of this flags and you can place css, class or id attributes to be able use this in any kind of work like this:

[cfgeo_flag size="50" css="padding:10px;" class="your-custom-class custom-class custom" id="top-flag"]

Info & Contact

Please visit our website www.cfgeoplugin.com and fell free to contact us. We will provide for you all services what you need.

Also please inform us if any errors occure via contact form on our website http://cfgeoplugin.com/.

Thank you for your concern!

~ Your CF Geo Plugin Team

Plugin Links

DONATION

Enjoy using CF Geo Plugin? Please consider making a small donation to support the project’s continued development.

TERMS AND CONDITIONS

BY INSTALLING THIS PLUGIN WE CONSIDER THAT YOU ARE AUTOMATICALY ACCEPT TEARMS AND CONDITIONS OF OUR SERVICES AND AGREE WITH THE PRIVACY POLICY.

Please read these Terms and Conditions (“Terms”, “Terms and Conditions”) carefully before using the www.cfgeoplugin.com website and the CF Geo Plugin WordPress application (the “Service”) operated by CF Geo Plugin.

Read about Terms and Conditions

PRIVACY POLICY

We respect your privacy and take protecting it seriously. This Privacy Policy covers our collection, use and disclosure of information we collect through our website and service, www.cfgeoplugin.com owned and operated by CF Geo Plugin. It also describes the choices available to you regarding our use of your personal information and how you can access and update this information. The use of information collected through our service shall be limited to the purpose of providing the service for which our Clients have engaged us. Also we respect and take care about Europe General Data Protection Regulation (GDPR) and your freedom and private choices.

Read about Privacy Policy

For further questions and clarifications, do not hesitate to contact us and we will reply back to you within 48 hours.

Screenshots

  • CF Geo Plugin Available shortcodes and values
  • CF Google Map shortcodes and setup
  • Anti Spam Protection setup
  • CF Geo Plugin global setup
  • Debug Mode for CF Geo Plugin and IP Lookup
  • Adding shortcode in text editor
  • Admin bar quick links
  • Example 1
  • Example 2
  • Example 3
  • SEO Redirection

Installation

You only need to install the CF Geo Plugin through the WordPress plugins screen directly or download ZIP file, unpack and upload plugin folder to the /wp-content/plugins/ directory.

Afterwards, activate the plugin through the ‘Plugins’ screen in WordPress, go to your http://siteexample.com/wp-admin/ area and use the Settings->CF Geo Plugin to see all available shortcodes and settings.

On uninstall

You must know when you uninstall CF Geo Plugin you will lost complete setup, license and any other changes you have inside your WordPress installation. On uninstall we clean everything from your database what our plugin generate and you can not return that informations back.

FAQ

Is CF Geo Plugin free? Is there some license or restrictions?

CF Geo Plugin uses a combination of free and payed services that return information about the locations.

CF Geo Plugin is free by itself but API lookup is limited to 300 lookups per day for the free users. If you need to have UNLIMITED lookup with NO RESTRICTIONS, please visit official website for the more informations regarding prices.

The reason for the payment of the license is obvious: -We have to pay the server we use to provide you informations via API, development requires hours and hours of work at the daily level, the availability of the service must be 24/7 with no stop and for a lot coffee.

Also you must know that few options like REST API, WooCommerce Payment Options, Spam Protection, Currency Converter are locked for the unlicensed usage because that options relay on the unlimited lookups and can broke website or stop working when you reach limits.

Do CF Geo Plugin use 3rd party services?

CF Geo Plugin is geo information provider and we provide own geo informations via API services builded on the CF Geo Plugin servers. CF Geo Plugin have own databases of IP addresses and geo locations related to that IP addresses. CF Geo Plugin may use inside own API service and 3rd party API services like MaxMind, GeoIP and Geo Plugin like additional support for the certain informations for the more precise location or currency information.

Note that CF Geo Plugin DO NOT STORE any personal information without your knowledge and approval and not provide personal informations to 3rd party. CF Geo Plugin not selling and not providing own databases to 3rd party in any case. We handling only with world wide public informations what are visible to anyone (client IP, server IP, hostname) and using simple proccess we return geo informations and following services.

For more informations you visit Terms and Conditions and Privacy Policy pages on our official website.

How I can test CF Geo Plugin is work on certain country, region or city?

That part is little bit hard but you can use great VPN service – NordVPN
With this service you can change your current location and test CF Geo Plugin and its functionality.

Can I use CF GeopPlugin inside custom template?

Yes! You can! You just need to follow instructions from your admin panel http://siteexample.com/wp-admin/ area and use the Settings->CF Geo Plugin to see all available shortcodes and settings.
NOTE: Some templates not support WordPress PHP function [do_shortcode()](https://developer.wordpress.org/reference/functions/do_shortcode/) and data from CF Geo Plugin will not be visible.

Can GeoPlugin slow down my site?

NO, CF Geo Plugin uses the asynchronous data reading from API services. After loading, all data is stored in a session. That session is stored until IP is changed. When user’s IP changes, the plugin reads new data and stores in the new session.

Can I set the different value if shortcode shows no results?

YES, just add the attribute default in shortcode and corresponding text like this:
[cfgeo return=”city” default=”Your Default Text”]

How to include CF GeopPlugin in PHP?

In PHP you can use WordPress function [do_shortcode()](https://developer.wordpress.org/reference/functions/do_shortcode/) to display data via shortcode inside your PHP file. Also you have option to use PHP class new CF_Geoplugin or you can use GLOBALS and get data via global $CF_Geo like example:

// check if plugin exists
if(class_exists("CF_Geoplugin")){
    // include plugin class
    $cfgeo = new CF_Geoplugin;
    // get data
    $geo = $cfgeo->get();
    // print data
    echo $geo->city;
}

or with globals:

// object oriented
global $CF_GEO;
echo $CF_GEO->city;

// Array
global $CFGEO;
echo $CFGEO['city'];
How to use CF GeopPlugin inside JavaScript?

JavaScript is enabled from version 5.2.0. In JavaScript you have 2 ways to get geo data from our plugin, using cf.geoplugin or window.cfgeo objects. This 2 objects contain all geo informations from our plugin and is available inside public and admin area.

<script>
    // Look in your console for all available objects
    console.log(window.cfgeo);

    // you can use this everywhere you want

    var city = window.cfgeo.city,
        state = window.cfgeo.state,
        country = window.cfgeo.country,
        ip = window.cfgeo.ip;
</script>
How to use CF Geo Plugin inside ContactForm7?

Sometimes you need to include other HTML, CSS and JavaScript, and jQuery codes inside ContactForm7. Sometimes you need to insert a geolocation in input fields. This is not easy but here is one example with jQuery:

[text* city placeholder "* City Name"]
[text* country placeholder "* Country Name"]

<script>
jQuery(document).ready(function(){
    jQuery("input[name^='city']").val(window.cfgeo.city);
    jQuery("input[name^='country']").val(window.cfgeo.country);
});
</script>

This code will auto fill value of CF7 city field when a visitor visits the contact page (look screenshots).

  • All geo informations you can find inside global window.cfgeo object.
CF Geo Plugin don’t display information
  • It might be an error with the provider’s geoPlugin network or API and CF Geo Plugin can’t display information by own.
  • Look inside CF Geo Plugin for all available shortcodes and settings,
  • Look inside CF Geo Plugin->Settings and enable/disable and check all options (SSL, proxy, etc),
  • Maby you have PHP error, you can see that if you enable plugin debug in wp-config.php inserting on first lines code: define('WP_CF_GEO_DEBUG', true);
  • Some people use a special software to hide IP address via proxy and geoplugin can’t look deeper to get accurate location,
  • Look into error.log file to see if a problem is in CF Geo Plugin
  • Some servers not allow access to geoplugin sites and maby you need to use proxy setings inside plugin to enable tracking
  • You reach some API limitations

Please inform us if any of these errors occure via contact form on our website http://creativform.com with message subject: CF Geo Plugin SUPPORT

Reviews

Great plugin!

This plugin help me a lot with the SEO redirection and WooCommerce payment options. Also I'm able to calculate currency for the products on the local valute of my visitors. One great thing is also that I'm able to setup content and banners related to geo location of my visitors and also I get great and fast customer support. All recommendations!

No price on your website

I had to free install this plugin to find out that it costs a minimum of $74/year! Why don't you show this plugin price anywhere? I didn't check this plugin. I don't like those tricks. I will find another solution. OK, I found that you updated your plugin. I also updated my review. Thank you for your support.

Pro looks useful, but not sure of the price. Is it US$32?

Hello, I'm interested in this plugin for the geo content inclusion/exclusion feature. Could you please clarify the Pro version's price? Is it US$32 ? I can't find the price anywhere. If so, I guess the details page gives incorrect information and needs to have the following two features removed from the list for "All CF Geo Plugin 5.2.x Features": - Include Content by Geolocation – Allows you to include content by geolocation - Exclude Content by Geolocation – Allows you to exclude content by geolocation Because, below that, it says "Some of the new PRO features may be charged for the symbolic price of $32 per installation. CF Geo Plugin PRO Features". The list includes: - Include Content by Geolocation - Exclude Content by Geolocation Thanks, Grant
Read all 12 reviews

Contributors & Developers

“CF Geo Plugin” is open source software. The following people have contributed to this plugin.

Contributors

Translate “CF Geo Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

7.5.12

  • Added WordPress 5.1 support
  • New PHP function clear_cf_geoplugin_session() for the developers
  • Improved session functionality
  • Fixed bug in the settings options