跳到内容

DM Visitor Location Notification

v1.0.0

George-Paul Crețu · 2020年4月21日 上架

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.

正在使用
10 以下
评分
暂无
累计下载
1,524
最近更新
2020年7月3日
需要 WordPress 5.0+已测试到 5.4.26PHP 7.2+

截图

Example of top visits for a page and multiple visitors from different countries notification
Example of top visits for a page and multiple visitors from different countries notification
Example of top visits for a page and multiple visitors from same country notification
Example of top visits for a page and multiple visitors from same country notification
Example of top visits for a page and single visitor notification
Example of top visits for a page and single visitor notification
Settings page with API notification
Settings page with API notification
Add in the ipstack.com API Key
Add in the ipstack.com API Key
Style the notification with these 3 options
Style the notification with these 3 options
Customize the notification message by using the dynamic variables
Customize the notification message by using the dynamic variables

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums