Closed AvaptechSolutions closed 1 year ago
I am going to need some more information here... 😉
defines
have you configured in your wp-config.php
) We have checked your queries. My WordPress site - https://arootah.com/ is hosted through Kinsta. We had set up the Sentry plugin on the site and we have indeed exceeded our plan limits. Could that be the reason why the configuration is not working.
As for set up, I had added this code in the functions.php
define('WP_SENTRY_BROWSER_REPLAYS_SESSION_SAMPLE_RATE', 1.0); // replay all sessions define('WP_SENTRY_BROWSER_REPLAYS_ON_ERROR_SAMPLE_RATE', 1.0); // replay all sessions with errors
The documentation given in the Sentry was for framework sites, but my site is a WordPress site, so I had to look for alternative codes that configure the sentry platform. After adding this code, the checkbox for the session replays was on - https://prnt.sc/kkKE84SgfDz2.
We are not using any adblockers. We are seeing continues front-end errors in Sentry but nothing is being recorded in the sessions replays.
Kindly check and help me resolve this issue. If the code added for the set up is incorrect, kindly provide me the correct code that should go there.
Thank you!
Well if you've exceeded your plan limits Sentry might drop events so that is certainly a possibility.
However (and thanks for sharing the URL) I saw you are loading the ES5 bundles (because you've set define( 'WP_SENTRY_BROWSER_USE_ES5_BUNDLES', true );
), replays are not supported with ES5 bundles (see the README for the WP_SENTRY_BROWSER_USE_ES5_BUNDLES
).
So try removing define( 'WP_SENTRY_BROWSER_USE_ES5_BUNDLES', true );
or setting it to false
. That should load the replays bundle and allow you to record replays.
Hi,
We have updated the code the way you mentioned above. However, the Sentry now shows this part as an issue - https://prnt.sc/zn2hB4yLiD4Q. And the replays are still not configured yet.
Any suggestions
You've now added it twice 😉 Try removing the one you now added and the previous one too.
I am closing this issue because of inactivity, if there is still an issue please re-open / open a new issue so we can investigate 👍
Hi,
I had set up the session replays on the site using the documentation given by Sentry and on the WordPress backend, its showing set-up but I am not able to see any replays in the Sentry. I need help to complete the configuration. I would appreciate if someone would be able to help me resolve this issue.
Thank you!