Tracking Code for Google Analytics Security & Risk Analysis

wordpress.org/plugins/tracking-code-for-google-analytics

Simple, lightweight solution for inserting your Google Analytics Universal tracking code.

100 active installs v2.0.3 PHP 7.2+ WP 5.0+ Updated Jul 5, 2024
analyticsgoogletrackingtracking-codeuniversal-analytics
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Tracking Code for Google Analytics Safe to Use in 2026?

Generally Safe

Score 92/100

Tracking Code for Google Analytics has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The 'tracking-code-for-google-analytics' plugin v2.0.3 exhibits an excellent security posture based on the provided static analysis. The absence of any identified attack surface points like unprotected AJAX handlers, REST API routes, shortcodes, or cron events is a significant strength. Furthermore, the code signals indicate robust security practices, with no dangerous functions used, all SQL queries employing prepared statements, and all output being properly escaped. The lack of file operations and external HTTP requests also minimizes potential attack vectors. The vulnerability history being entirely clear, with no known CVEs or past vulnerabilities, further bolsters confidence in the plugin's security. This plugin appears to be very well-developed from a security perspective, with no immediate risks identified in the static analysis or historical data. The only potential, albeit minor, concern is the complete absence of any capability checks or nonce checks, which might suggest that the plugin doesn't handle sensitive operations directly, or perhaps relies on the WordPress core's general security measures. However, given the plugin's apparent function (adding tracking code), this may be an acceptable design choice.

Vulnerabilities
None known

Tracking Code for Google Analytics Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Tracking Code for Google Analytics Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
6 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

100% escaped6 total outputs
Attack Surface

Tracking Code for Google Analytics Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_initinc\admin.php:15
actionwp_headinc\public.php:12
Maintenance & Trust

Tracking Code for Google Analytics Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.0
Last updatedJul 5, 2024
PHP min version7.2
Downloads5K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Tracking Code for Google Analytics Developer Profile

Clayton Collie

5 plugins · 170 total installs

90
trust score
Avg Security Score
94/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Tracking Code for Google Analytics

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/tracking-code-for-google-analytics/inc/tracking-id.php/wp-content/plugins/tracking-code-for-google-analytics/inc/admin.php/wp-content/plugins/tracking-code-for-google-analytics/inc/public.php
Script Paths
https://www.googletagmanager.com/gtag/js

HTML / DOM Fingerprints

HTML Comments
Global site tag (gtag.js) - Google Analytics
JS Globals
dataLayergtag
FAQ

Frequently Asked Questions about Tracking Code for Google Analytics