[ad_1]
WordPress has basic built-in analytics that can show visits for pages, posts, etc. But I also have a number of directories within wordpress directory that contain static html. Like mywebsite.com/subdirectory/index.html that is not handled by WP. I want to track visits to those pages, but do it without any 3rd party services. Does WP have a plugin for internal tracking pixels or something similar? In theory I can create dummy WP pages and load them inside invisible iframes, but that looks too heavy.
[ad_2]
*Wordpress has basic built-in analytics*
No it doesn’t. Maybe you’re talking about a [Wordpress.com](https://Wordpress.com) feature?
Use Google Analytics – but you will need to install the tracking code in each HTML page.
Looking for a custom analytic solution and frustrated that people are still recommending 3rd party solutions like google analytics? [Here is an article](https://www.beprosoftware.com/blog/managing-your-own-visitor-records-vs-google-analytics/) that tells you how to build your own analytics.
Good luck.