Install
How to add a visitor map in WordPress
Create the widget, then paste the snippet into a Custom HTML block or the theme footer. Confirm a test visit before you change the design.
How to add a visitor map to an HTML page
Paste the snippet before the closing body tag, give the image a size, and load the file from the real host to prove a visit was stored.
How to check that the widget is recording
Load the live page, confirm the browser requested the widget, then find that URL on your stats page. Stop when any one of those is missing.