Skip to content

How can I set html properties in react ga4? #58

@igoormatias

Description

@igoormatias

In older versions, we could set HTML attributes like data-gtm-type="form" and data-gtm-name="personal-data" to track events. In the new version of react-ga4 how can do this?

Example

<input type="text" data-gtm-type="form" data-gtm-name="personal-data" placeholder="Name" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions