plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
19.14k stars 1.03k forks source link

Limit excluded goals to 1000 in goal suggestions #4319

Closed zoldar closed 1 week ago

zoldar commented 1 week ago

Changes

This is a fix for situations where large number of existing goals caused the suggestions query run over the limit of parameters in the CH query. As, worst case, this will cause suggesting goal which is already added (which is later validated anyway), it's safe to trim the list of exclusions.

The fix is not ideal but will address the immediate problem of goal settings failing to load for sites with large number of goals defined.