🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update web SDK docs
Edward Cuicf216f7d91c0
diff --git a/docs/src/content/sdks/web.mdx b/docs/src/content/sdks/web.mdxindex 1a816dd25..4dfa31128 100644--- a/docs/src/content/sdks/web.mdx+++ b/docs/src/content/sdks/web.mdx@@ -144,8 +144,8 @@ function addToCart(item) {If `trackDataAttributes` is enabled (default), you can track events directly from your HTML. The SDK will automatically listen for clicks on elements with the `data-rybbit-event` attribute.-- **`data-rybbit-event="<event-name>"`**: This attribute makes the element trackable. The value is used as the event name.-- **`data-rybbit-prop-<property-name>="<value>"`**: You can add multiple properties to the event by using this attribute format. The SDK collects all attributes starting with `data-rybbit-prop-` and includes them as key-value pairs in the event data.+- `data-rybbit-event="<event-name>"`: This attribute makes the element trackable. The value is used as the event name.+- `data-rybbit-prop-<property-name>="<value>"`: You can add multiple properties to the event by using this attribute format. The SDK collects all attributes starting with `data-rybbit-prop-` and includes them as key-value pairs in the event data.#### Example