DM Visitor Location Notification

plugin banner

DM VLN allows you to display notifications when new visitors access the page with location details and stats with top 10 countries for that page.

Author:George Paul Cretu (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.4.6
Plugin version:1.0.0
Added to WordPress repository:21-04-2020
Last updated:03-07-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:534
plugin download
Click to start download

The plugin uses ipstack.com to get visitors details based on IP.
You will need an API key from ipstack.com in order for it to work.

After activation you can use the shortcode [dm-vln-notification] on the page where you want to show the notifications.

Potential usage for:
– podcast sites
– video libraries
– shops
– publications

Using this shortcode on your site will allow other visitors to get a sense of the engagement your pages get.

Shortcodes

Two shortcodes are available for use:
[dm-vln-notification] – this one will check the visitor details, create/update the records and show the notification message.
[dm-vln-top-countries] – this one will show the top 10 countries that visited the page (only unique IPs will be counted).

The [dm-vln-top-countries] can’t provide correct data if [dm-vln-notification] was not added to that page at one point.
Since [dm-vln-notification] does the whole operation regarding visitor data display, save and update.

Settings

Dashboard page provides you with a number of options:
– Adding API Key
– Choose the position of the notification
– Style the color scheme for the notification
– Add Custom notification message for single and multiple users
– Adjust the Notification display time
– Adjust the Frequency of the Ajax call
– Set the seconds for with to check the DB (based on NOW – seconds we decide what users are new/online)
– Pause the API Request
– Select a date and delete DB records previous to that

Custom notification message

Custom notification messages can be adjusted using dynamic variables.
For Single visitor you have:
%dm_vln_country% – displays the country with the flag
%dm_vln_city% – displays the city (it is not 100% accurate).

For Multiple visitors you have:
%dm_vln_visitor_number% – shows the number of visitors
%dm_vln_countries% – displays list of country codes
%dm_vln_flags% – displays list of flags instead of country codes
%dm_vln_country_flags% – displays list of country codes associated with the flag.

You should only use one of the %dm_vln_countries%, %dm_vln_flags%, %dm_vln_country_flags% or it will show you duplicate data.

In all custom message you can use HTML tags.


Screenshots
FAQ
ChangeLog