Documentation
GeoBlock Pro
Analytics

Analytics

Go to WooCommerce → GeoBlock → Analytics to see how often your restrictions trigger.

Analytics is off by default. Turn on Analytics Logging under WooCommerce → GeoBlock → Advanced to start collecting data. Until then, the Analytics tab shows "Analytics is disabled."

The dashboard always covers the last 30 days.


Summary Cards

CardWhat it shows
Potential Sales BlockedTotal restriction events in the last 30 days
Top Blocked MarketThe country that triggered the most restrictions
Most Affected RuleThe rule that triggered most often

A Business Insights list sums this up in plain sentences: the country with the most blocks, the most affected rule, and the 30-day total.


Charts and Tables

SectionWhat it shows
Blocks This WeekDaily restriction counts for the 10 most recent days that had activity
Top Blocked MarketsThe 10 countries with the most restriction events
Most Affected RulesThe 10 rules that triggered most often, with Rule, Type, Impact (Blocks) and Last Seen

What Is Recorded

Each event is stored in the {prefix}geoblock_analytics database table:

ColumnDescription
created_atWhen the event happened
event_typeproduct_rule, variation_rule, bulk_rule or payment_rule
rule_id / rule_typeWhich rule matched (product, variation, category, tag, attribute, global or payment)
country2-letter ISO country code
customer_ip_hashA salted SHA-256 hash (HMAC) of the visitor's IP - the IP itself is never stored
product_idThe product involved (product events)
gateway_idThe payment method involved (payment events)
modeThe Restriction Mode at the time
request_pathThe page that was requested

Dashboard results are cached for 5 minutes.

Analytics data is kept until you remove it. There is currently no retention setting, clear button or CSV export.