Skip to content

Security concern: Exposing GA4 measurementId in mint.json file #53

@perisicnikola37

Description

@perisicnikola37

Problem Description:

Currently, I have defined the measurementId in the mint.json file, which exposes it in the client-side code.

Question:
Is it possible to set the GA4 measurementId without exposing it in the client-side code? If so, what are the best practices to protect against potential abuse and data manipulation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions