spa.hardevent firing with a react app
Sorry one more question @andreas-marschke I have a react app which on load typically:
1) Loads a bundle
2) Shows a nav bar and loading spinner while it does an initial graphql call
3) Once the graphql completes shows the main content
Currently it seems like
spa events wait for the graphql call to finish but not
spa_hard events. Is it possible to get both to wait? Our page isn't really usable until the call finishes. Thanks!
@gregology I am not aware of such implementation but migrating it to Python should be an easy task. Here I ported the decompressor to PHP for about 4 hours: https://github.com/revampix/boomerang-resourcetiming-decompression-php-port/blob/master/resourcetimingDecompression.0.3.4.php
P.S. At the moment of porting I had not much experience with JS. If you are going to port it then use some kind of automated testing. I found it useful to test with input JSON resource timing string and compare the final output/result with pre-generated output taken from the JS implementation. Ref: https://github.com/revampix/boomerang-resourcetiming-decompression-php-port/blob/master/test/resourcetimingDecompressionTest.0.3.4.php
Hello @vinothck I am sharing some docs:
Information about rt.js / The RT plugin: https://developer.akamai.com/tools/boomerang/docs/BOOMR.plugins.RT.html
How to create a plugin: https://developer.akamai.com/tools/boomerang/docs/tutorial-creating-plugins.html
Feel free to explore the docs :)
hi. I need some help with registering soft navigation changes for an Angular (not AngularJs) app. Could you guys point me to some working example? Alternatively answer my stackoverflow question for glory?
@hchhabada_gitlab @pnaika you can try with:
However this will send only the metric data on a beacon.
This is the payload I see as a result.
my_metric_name: my_metric_value sb: 1
You probably would like to add some extra data on the beacon like session id, current page url ...