analytics/lib/plausible_web/plugins
Adam Rutkowski 99fd33522d
Expose goals w/ custom props through Sites/Plugins API (#5952)
* Improve goal custom props validation

* Implement goals with custom props in Plugins API

* Implement goals with custom props in Sites API

* DRY: Extract CustomProps schemas

* rename test

* Check for Props feature availability on goals with custom props creation

* Guard goals w/ custom props with billing feature checks

* ce

* ce

* Tidy up test

* credo

* Fix error wording for Sites API

* Update test/support/teams/test.ex

Co-authored-by: Artur Pata <artur.pata@gmail.com>

* Use strict map assertion per @apata's suggestion

* Stronger match

* Improve custom props validation

* Keep the hybrid feature encapsulated

* Format

* Revert "Keep the hybrid feature encapsulated"

This reverts commit 3d5d7cf4c8.

* Fixup

---------

Co-authored-by: Artur Pata <artur.pata@gmail.com>
2025-12-18 08:12:47 +00:00
..
api Expose goals w/ custom props through Sites/Plugins API (#5952) 2025-12-18 08:12:47 +00:00