Skip to content

Conversation

@macobo
Copy link
Contributor

@macobo macobo commented Apr 7, 2025

No description provided.


<ApiV2Example id="example-revenue-warning" />

### Behavioral filters {#example-behavioral-filters}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use an explanation for why/how it's different from normal event filters.

How is this example:

{
  "site_id": "dummy.site",
  "metrics": ["visitors"],
  "date_range": "all",
  "filters": [
    ["is", "event:goal", ["Signup"]],
    ["has_done", ["is", "event:page", ["/pricing"]]]
  ]
}

different from

{
  "site_id": "dummy.site",
  "metrics": ["visitors"],
  "date_range": "all",
  "filters": [
    ["is", "event:goal", ["Signup"]],
    ["is", "event:page", ["/pricing"]]
  ]
}

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved the behavioral filters section with a bit more explanation as to what is going on.

@macobo macobo merged commit 30eccb6 into master Apr 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants