You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/stats
RobertJoonas fa54efbc6d
Support `with_imported=true` in Stats API aggregate (#2919)
* default to source_query.include_imported before true

This fixes a bug where a Stats API aggregate query was trying
to query current period *without imported data* but previous
period *with imported data*.

* remove __internal_visits at a better time

As soon as we have made the db query, we don't need it anymore

* disallow events metric with imported data

* update changelog

* keep default in a better place

* remove unused option

* update test description

Co-authored-by: Vini Brasil <vini@hey.com>

---------

Co-authored-by: Vini Brasil <vini@hey.com>
4 years ago
..
aggregate.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
base.ex Treat page filter as entry page filter only for bounce rate (#2874) 4 years ago
breakdown.ex Treat page filter as entry page filter only for bounce rate (#2874) 4 years ago
clickhouse.ex Clean up after V2 migration (#2868) 4 years ago
compare.ex [Continued] Google Analytics import (#1753) 5 years ago
comparisons.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Fix a bug with query bindings (#2932) 4 years ago
filter_parser.ex Harden API input validation (#2869) 4 years ago
filter_suggestions.ex Filter out garbage props by `site.allowed_event_props` (#2907) 4 years ago
filters.ex Harden API input validation (#2869) 4 years ago
fragments.ex Add API support for intervals (#2417) 4 years ago
imported.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
interval.ex Add support for intervals (#1574) 4 years ago
mod.ex Prop filter modal (#2841) 4 years ago
props.ex Prop filter modal (#2841) 4 years ago
query.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
timeseries.ex Treat page filter as entry page filter only for bounce rate (#2874) 4 years ago
util.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago