Hi Team,
We are trying to integrate APM with react application using "@elastic/apm-rum-react (1.4.4)" module and apmRoute tags instead of Route tags but the problem is we have a protected route where we check condition and used render.
I saw in the documentation that we need to use "withTransaction" in those cases. we have used that method also to instrument the individual component but didn't work for page load. It is tracking the div clicks and other operations.
Can anyone please give us some inputs on how we can integrate in these cases?
Thanks,
Surya