Shortcodes

Combining Multiple Keys and Values in WP Slimstat Shortcodes

Applies to SlimStat 6.0.0 · checked

Yes. Put &&& between SlimStat filter expressions to apply them together. The expressions go between the opening and closing shortcode tags.

[slimstat f="top" w="post_link"]content_type equals post&&&limit_results equals 5[/slimstat]

content_type equals post restricts the report to posts; limit_results equals 5 limits the list. The current month is used unless you supply another date range or use top-all.

Count pageviews from a selected country

[slimstat f="count" w="id"]country equals de&&&resource contains /guides/[/slimstat]

This counts recorded pageviews whose stored country is de and whose path contains /guides/. Consent and geolocation settings can leave country empty, so this is not a count of all visitors physically in Germany.

Filters select recorded data; they do not change tracking exclusions. See shortcode structure and traffic exclusions.