Skip to content

[Security] Google Analytics Tracking ID Exposed #20

@mrlesmithjr

Description

@mrlesmithjr

Summary

Google Analytics tracking ID is visible in configuration file even though analytics is disabled.

Location

_config.yml (line 82)

Description

The configuration file contains a Google Analytics tracking ID:

analytics:
  provider: false
  google:
    tracking_id: UA-XXXXXXXX-X

While analytics is disabled (provider: false), the tracking ID is still present in the repository.

Impact

  • Competitor Analysis: Competitors could identify and monitor the analytics account
  • Spam Risk: Tracking ID could be used to send spam data to the analytics account
  • Information Disclosure: Reveals analytics infrastructure even when not in use

Impact is minimal but represents unnecessary information exposure.

Remediation

Remove or redact the tracking ID if analytics is not in use:

analytics:
  provider: false
  google:
    tracking_id: ""  # or remove line entirely

If analytics will be re-enabled, consider using environment variables for the tracking ID.

Priority

P3 (Low) - Informational disclosure only

References

  • Information disclosure best practices

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3Low priority, nice-to-havesecuritySecurity-related issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions