adobe/helix-rum-js

include API calls for `.plain.html` and `.json`

Closed this issue · 6 comments

to get a good picture it would be great to include requests to .plain.html and .json to get a good overview over important resource usage and timing.

We could wrap window.fetch with a Proxy and track a checkpoint when fetch requests to plain.html or .json are executed.
@trieloff do you have another idea?

@buuhuu this sounds like a good ffetch extension

i really don't like the fetch wrapping extension... i really don't like it when martech does it. also it is unlikely that we should have an ffetch dependency in RUM collection.

Hi @davidnuescheler ,
PR is ready.
Please note, that this will not track the "soft navigations" you implemented as that feature requests the "normal" target path, and not the .plain.html

Implemented for blog.adobe.com in the rum-enhancer.
Currently evaluating if should be extended to other customers