
Local Analytics Security & Risk Analysis
wordpress.org/plugins/local-analyticsLocal Analytics is a Wordpress plugin for integrating Google Analytics, the free web analysis service by Google, into your blog.
Is Local Analytics Safe to Use in 2026?
Generally Safe
Score 85/100Local Analytics has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The 'local-analytics' plugin v1.2.2 exhibits a mixed security posture. On the positive side, it demonstrates strong practices regarding database interactions, with all SQL queries utilizing prepared statements. Additionally, there are no recorded CVEs, indicating a generally stable history. The static analysis reveals a remarkably small attack surface, with no apparent AJAX handlers, REST API routes, shortcodes, or cron events exposed without authentication. This significantly limits the plugin's direct vulnerability to external attacks.
However, several concerning code signals and taint analysis results warrant attention. The presence of the `create_function` is a significant red flag, as it can be exploited for remote code execution under certain conditions if user-supplied data influences its execution. Furthermore, a very low rate of proper output escaping (only 5%) across 22 output points suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities. The taint analysis revealing four flows with unsanitized paths, although not rated as critical or high, points to potential data handling weaknesses that could be leveraged in conjunction with other vulnerabilities.
In conclusion, while the plugin benefits from a limited attack surface and secure database practices, the use of `create_function` and the pervasive lack of output escaping present substantial risks. The absence of vulnerability history is a positive sign, but it does not negate the immediate concerns arising from the code analysis. A comprehensive audit focusing on the sanitization of data used with `create_function` and the proper escaping of all outputs is strongly recommended.
Key Concerns
- Unsanitized paths in taint analysis
- Low rate of proper output escaping
- Presence of dangerous function create_function
- No nonce checks
- No capability checks
Local Analytics Security Vulnerabilities
Local Analytics Release Timeline
Local Analytics Code Analysis
Dangerous Functions Found
Output Escaping
Data Flow Analysis
Local Analytics Attack Surface
WordPress Hooks 7
Maintenance & Trust
Local Analytics Maintenance & Trust
Maintenance Signals
Community Trust
Local Analytics Alternatives
GA Google Analytics – Connect Google Analytics to WordPress
ga-google-analytics
Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.
Better Google Analytics
better-analytics
Track everything with Google Analytics (clicked links, emails opened, YouTube videos being watched, etc.). Includes real time Analytics dashboard.
Enhanced Ecommerce Google Analytics for WooCommerce
woo-ecommerce-tracking-for-google-and-facebook
Track sales analytics, conversions and understand consumer behavior using google analytics (with ecommerce tracking).
Universal Google Analytics (GA3 and GA4)
universal-google-analytics
Automatically set up the required Google Analytics tracking ID/snippet to the footer of your WordPress installation, as required by Google Analytics.
Finteza Analytics
finteza-analytics
Finteza web analytics plugin for WordPress websites
Local Analytics Developer Profile
1 plugin · 10 total installs
How We Detect Local Analytics
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/local-analytics/local-urchin-js.php/wp-content/plugins/local-analytics/local-urchin-js.phpHTML / DOM Fingerprints
<!-- Begin Google Analytics Code by Local Analytics Plugin --><!-- End Google Analytics Code by Local Analytics Plugin -->onclick="javascript:pageTracker._trackPageview('locan_dirnameLOCAL_ANALYTICS_TRACKING_ENABLEDpageTracker_gat_getTracker_initData+1 more