Skip to content

Commit

Permalink
Added custom_metric_key and custom_metric_type to filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kugelschieber committed Sep 16, 2023
1 parent cbcfff6 commit 116692e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.10.0

* added custom_metric_key and custom_metric_type to filter

## 1.9.0

* added optional client hint headers
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
const SCALE_MONTH = 'month';
const SCALE_YEAR = 'year';

const CUSTOM_METRIC_TYPE_INTEGER = 'integer';
const CUSTOM_METRIC_TYPE_FLOAT = 'float';

class Filter {
public $id;
public $from;
Expand Down Expand Up @@ -34,9 +37,11 @@ class Filter {
public $utm_campaign;
public $utm_content;
public $utm_term;
public $custom_metric_key;
public $custom_metric_type;
public $include_avg_time_on_page;
public $offset;
public $limit;
public $include_avg_time_on_page;
public $sort;
public $direction;
public $search;
Expand Down

0 comments on commit 116692e

Please sign in to comment.