📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added documentation for the window.swetrixCaptchaForceLoad callback
Blue Mousefd12aad537bc
diff --git a/docs/captcha/client-side-usage.md b/docs/captcha/client-side-usage.mdindex a3d3a833e..69d6ecc26 100644--- a/docs/captcha/client-side-usage.md+++ b/docs/captcha/client-side-usage.md@@ -28,6 +28,8 @@ Once the CAPTCHA script is installed (or embedded) on your website, you can useInside the `.swecaptcha` element, the widget will automatically render a frame with the CAPTCHA challenge and an input field where the token will be stored. The CAPTCHA is designed to be embedded to HTML forms, but you can use it anywhere on your website.+After the CAPTCHA loader script is loaded, it will add a `window.swetrixCaptchaForceLoad` function to the global scope. You can use this function to forcefully reload the CAPTCHA widget. This function can be useful if you changed the CAPTCHA configuration and want to reload the widget without reloading the page.+### CustomisationYou can customise the appearance of the CAPTCHA widget by adding the following attributes to the `.swecaptcha` element: