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
- Number of Unique IPs This Month
[slimstat f='count' w='ip'][/slimstat]
- 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]
- Number of Page Views for the Current Page/Post
[slimstat f='count' w='id']content_id equals current[/slimstat]
- Number of Page Views Received Today
[slimstat f='count' w='id']strtotime equals today[/slimstat]
- Number of Page Views Received Yesterday
[slimstat f='count' w='id']strtotime equals yesterday[/slimstat]
- Number of Unique Human Visitors This Month
[slimstat f='count' w='ip']visit_id is_greater_than 0[/slimstat]
- Number of Users Currently Online
[slimstat f='count' w='ip']strtotime equals now &&& interval_minutes equals -5[/slimstat]
- Number of Page Views in the Last 5 Minutes
[slimstat f='count' w='id']strtotime equals now &&& interval_minutes equals -5[/slimstat]
- Number of Page Views from the Beginning
[slimstat f='count-all' w='id'][/slimstat]
- 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]
- List of Recent Search Terms
[slimstat f='recent' w='searchterms'][/slimstat]
Or as a widget:
[slimstat f='widget' w='slim_p1_06'][/slimstat]
- List of Most Active Visitors
[slimstat f='top' w='username'][/slimstat]
Or as a widget:
[slimstat f='widget' w='slim_p2_21'][/slimstat]
- World Map
[slimstat f='widget' w='slim_p6_01'][/slimstat]