The Store Locator itself doesn’t collect any personally identifiable data, but it does hold location data added by the site owner the plugin is installed on. This may contain the address details, contact details, opening hours, coordinates and possible custom data that the site owner decided to collect related to the store location.
What happens when a user makes a search is that the provided search input is sent to the Google Geocode API, which then returns a set of coordinates. Those coordinates are used to find nearby locations in the local database.
Only when the statistics add-on is used, is the provided search input stored in combination with possible selected categories. No personally identifiable data is ever stored in the database when a search is made.
The individual store data can be exported by opening the store location in the editor and click on ‘Export Location Data’ ( right bottom corner ). This will generate a CSV file with all the related metadata ( name, address, coordinates, contact details and possible custom fields ).
Both the Search Widget and CSV Manager itself don’t collect any personal data.
Block Loading Google Maps Until The User Allows It
Loading the Google Maps library normally happens automatically in the background, but this can be prevented in combination with the Borlabs Cookie plugin.
After you installed the Borlabs Cookie plugin you need to take three steps to make it work with the WP Store Locator plugin.
- In the admin area go to Settings > Borlabs Cookie and check the “Activate Borlabs Cookie” checkbox.
- On the WPLS settings page scroll down to the “Tools” section. There enable the “GDPR – Only load Google Maps after the user agrees to it?” option.
- The last thing you need to do is open the store locator page in the admin editor, and replace the
[wpsl]shortcode with the code below. This tells the Borlabs Cookie plugin to prevent the loading of Google Maps scripts for the store locator.
If everything is setup correctly, then you should see the image below instead of the store locator. Only after the user clicks on “Load map” is the Google Maps library loaded and the store locator shown.