Back to Shortcodes

Updated on Nov 14, 2023

Examples of Frequently Used Shortcodes in WP Slimstat

Shortcodes in WP Slimstat simplify the process of tracking and displaying website data. This guide lists some of the most commonly used shortcodes. For customization tips, please refer to our knowledge base. Note that the widget criteria is supported starting from Slimstat 4.6.

Commonly Used Shortcodes

  1. Number of Unique IPs This Month
[slimstat f='count' w='ip'][/slimstat]
  1. Number of Human Unique IPs from the Beginning
[slimstat f='count-all' w='ip']resolution is_not_empty &&& browser_type does_not_equal 2[/slimstat]
  1. Number of Page Views for the Current Page/Post
[slimstat f='count' w='id']content_id equals current[/slimstat]
  1. Number of Page Views Received Today
[slimstat f='count' w='id']strtotime equals today[/slimstat]
  1. Number of Page Views Received Yesterday
[slimstat f='count' w='id']strtotime equals yesterday[/slimstat]
  1. Number of Unique Human Visitors This Month
[slimstat f='count' w='ip']visit_id is_greater_than 0[/slimstat]
  1. Number of Users Currently Online
[slimstat f='count' w='ip']strtotime equals now &&& interval_minutes equals -5[/slimstat]
  1. Number of Page Views in the Last 5 Minutes
[slimstat f='count' w='id']strtotime equals now &&& interval_minutes equals -5[/slimstat]
  1. Number of Page Views from the Beginning
[slimstat f='count-all' w='id'][/slimstat]
  1. List of Popular URLs This Month
[slimstat f='top' w='post_link'][/slimstat] Or as a widget: 
[slimstat f='widget' w='slim_p1_08'][/slimstat]
  1. List of Recent Search Terms
[slimstat f='recent' w='searchterms'][/slimstat] Or as a widget: 
[slimstat f='widget' w='slim_p1_06'][/slimstat]
  1. List of Most Active Visitors
[slimstat f='top' w='username'][/slimstat] 
Or as a widget: 
[slimstat f='widget' w='slim_p2_21'][/slimstat]
  1. World Map
[slimstat f='widget' w='slim_p6_01'][/slimstat]