Has Google Analytics is a technology observation, not an optimization target. It returns 1 only when RankGear finds the legacy google-analytics.com/analytics.js pattern in the rendered HTML, and 0 otherwise — which means a modern GA4, Tag Manager, or proxied setup can be present and still read 0.
| Factor ID | RG-TEC-009 |
|---|---|
| Family | Tech & platform |
| Measurement | Boolean (0 / 1) |
| Measured zone | Complete rendered HTML |
What it measures
The factor reports whether the legacy Google Analytics analytics.js resource pattern appears in the rendered HTML. The display name is broader than the detector: GA4, Google Tag Manager, a consent-managed loader, a proxy, or another implementation can all return 0 while analytics is genuinely in place.
How RankGear measures it
RankGear searches the complete rendered HTML case-insensitively for the google-analytics.com/analytics.js resource string. One qualifying occurrence returns 1; otherwise the value is 0. It does not inspect the analytics account, confirm events are sent, detect every modern deployment, or evaluate consent and privacy compliance.
What RankGear looks for
<script src="https://www.google-analytics.com/analytics.js"></script>| Value | Meaning |
|---|---|
| 1 | The legacy analytics.js pattern was found in the rendered HTML. |
| 0 | That specific pattern was not found — the page may still use GA4, Tag Manager, or a proxied loader. |
How to read it
Treat this as a technology signal, not something to “fix.” If analytics supports the business, implement a current, privacy-appropriate measurement plan that records meaningful outcomes and is verified after deployment — with consent controls where required. Don’t install a legacy script solely to flip this factor from 0 to 1.
Important considerations
- The detector targets
analytics.jsand does not comprehensively detect GA4 or Tag Manager. - A value of 1 does not prove tracking works or is configured correctly.
- A value of 0 does not prove the page has no analytics.
- Analytics technology is not inherently a ranking recommendation.
- Let privacy, performance, data quality, and business usefulness guide implementation.
Related factors
Part of the Factors reference · how RankGear measures · glossary.