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" />