posthog.com
posthog.com copied to clipboard
Tutorial / Docs on CSS Selector usage
From some customer feedback, folks often struggle with the CSS selector part of creating Actions, as the Toolbar can make them too specific/generic for the use case. We should write some updated docs/a tutorial on best practices around creating actions using CSS Selectors (and when not to)
I think it's worth considering what attributes they're using for targeting. Specifically data-attributes. If those exist or can be added easily, then that would be a really clean and simple selector for building actions.