
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.
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.
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 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.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.