Created by
diff --git a/frontend/src/lib/components/Cards/InsightCard/TopHeading.tsx b/frontend/src/lib/components/Cards/InsightCard/TopHeading.tsx
index 0421b6bb56e2e..731a9c3c8e781 100644
--- a/frontend/src/lib/components/Cards/InsightCard/TopHeading.tsx
+++ b/frontend/src/lib/components/Cards/InsightCard/TopHeading.tsx
@@ -9,13 +9,13 @@ export function TopHeading({ insight }: { insight: InsightModel }): JSX.Element
let insightType: InsightTypeMetadata
// check the query first because the backend still adds defaults to empty filters :/
- if (!!query?.kind) {
+ if (query?.kind) {
if (isDataTableNode(query) && containsHogQLQuery(query)) {
insightType = QUERY_TYPES_METADATA[query.source.kind]
} else {
insightType = QUERY_TYPES_METADATA[query.kind]
}
- } else if (!!filters.insight) {
+ } else if (filters.insight) {
insightType = INSIGHT_TYPES_METADATA[filters.insight]
} else {
// maintain the existing default
@@ -23,9 +23,9 @@ export function TopHeading({ insight }: { insight: InsightModel }): JSX.Element
}
let { date_from, date_to } = filters
- if (!!query) {
+ if (query) {
const queryDateRange = dateRangeFor(query)
- if (!!queryDateRange) {
+ if (queryDateRange) {
date_from = queryDateRange.date_from
date_to = queryDateRange.date_to
}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/funnel.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/funnel.json
deleted file mode 100644
index 4f92e4203d76c..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/funnel.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "id": 22,
- "short_id": "TvP7eYK1",
- "name": "",
- "derived_name": "Pageview → All events user conversion rate",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- },
- {
- "id": null,
- "math": "total",
- "type": "events",
- "order": 1
- }
- ],
- "insight": "FUNNELS",
- "date_from": "-7d",
- "entity_type": "events",
- "funnel_viz_type": "steps",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [12],
- "dashboard_tiles": [
- {
- "id": 19,
- "dashboard_id": 12,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:45:45.447171Z",
- "next_allowed_client_refresh": "2023-06-06T12:00:45.447171Z",
- "result": [
- {
- "action_id": "$pageview",
- "name": "$pageview",
- "custom_name": null,
- "order": 0,
- "people": [],
- "count": 460,
- "type": "events",
- "average_conversion_time": null,
- "median_conversion_time": null,
- "converted_people_url": "/api/person/funnel/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-05-30T00%3A00%3A00%2B00%3A00&display=FunnelViz&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%2C+%7B%22id%22%3A+null%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+1%2C+%22name%22%3A+%22None%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&funnel_step=1&funnel_viz_type=steps&funnel_window_interval=14&funnel_window_interval_unit=day&insight=FUNNELS&interval=day&limit=100&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1",
- "dropped_people_url": null
- },
- {
- "action_id": null,
- "name": null,
- "custom_name": null,
- "order": 1,
- "people": [],
- "count": 460,
- "type": "events",
- "average_conversion_time": 0,
- "median_conversion_time": 0,
- "converted_people_url": "/api/person/funnel/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-05-30T00%3A00%3A00%2B00%3A00&display=FunnelViz&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%2C+%7B%22id%22%3A+null%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+1%2C+%22name%22%3A+%22None%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&funnel_step=2&funnel_viz_type=steps&funnel_window_interval=14&funnel_window_interval_unit=day&insight=FUNNELS&interval=day&limit=100&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1",
- "dropped_people_url": "/api/person/funnel/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-05-30T00%3A00%3A00%2B00%3A00&display=FunnelViz&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%2C+%7B%22id%22%3A+null%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+1%2C+%22name%22%3A+%22None%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&funnel_step=-2&funnel_viz_type=steps&funnel_window_interval=14&funnel_window_interval_unit=day&insight=FUNNELS&interval=day&limit=100&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1"
- }
- ],
- "created_at": "2023-06-06T11:45:48.249607Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:46:14.886834Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:46:14.818837Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_1b3d5611165189f1659d3c6b061bf95c"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/lifecycle.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/lifecycle.json
deleted file mode 100644
index 578086a0bb0e9..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/lifecycle.json
+++ /dev/null
@@ -1,579 +0,0 @@
-{
- "id": 26,
- "short_id": "0AcQJyb4",
- "name": "",
- "derived_name": "User lifecycle based on Pageview",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "insight": "LIFECYCLE",
- "interval": "day",
- "shown_as": "Lifecycle",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": false
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [16],
- "dashboard_tiles": [
- {
- "id": 23,
- "dashboard_id": 16,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:49:16.142216Z",
- "next_allowed_client_refresh": "2023-06-06T12:04:16.142216Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - new",
- "count": 26,
- "data": [0, 0, 0, 0, 0, 0, 0, 26],
- "labels": [
- "30-May-2023",
- "31-May-2023",
- "1-Jun-2023",
- "2-Jun-2023",
- "3-Jun-2023",
- "4-Jun-2023",
- "5-Jun-2023",
- "6-Jun-2023"
- ],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "status": "new",
- "persons_urls": [
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-30",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-30&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-31",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-31&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-01",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-01&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-02",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-02&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-03",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-03&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-04",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-04&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-05",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-05&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-06",
- "entity_order": 0,
- "lifecycle_type": "new"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-06&entity_order=0&lifecycle_type=new&cache_invalidation_key=G2LO4M1Y"
- }
- ]
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - dormant",
- "count": -543,
- "data": [-56, -45, -64, -75, -71, -69, -76, -87],
- "labels": [
- "30-May-2023",
- "31-May-2023",
- "1-Jun-2023",
- "2-Jun-2023",
- "3-Jun-2023",
- "4-Jun-2023",
- "5-Jun-2023",
- "6-Jun-2023"
- ],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "status": "dormant",
- "persons_urls": [
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-30",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-30&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-31",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-31&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-01",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-01&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-02",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-02&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-03",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-03&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-04",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-04&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-05",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-05&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-06",
- "entity_order": 0,
- "lifecycle_type": "dormant"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-06&entity_order=0&lifecycle_type=dormant&cache_invalidation_key=814WSafh"
- }
- ]
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - resurrecting",
- "count": 512,
- "data": [43, 69, 64, 67, 79, 75, 93, 22],
- "labels": [
- "30-May-2023",
- "31-May-2023",
- "1-Jun-2023",
- "2-Jun-2023",
- "3-Jun-2023",
- "4-Jun-2023",
- "5-Jun-2023",
- "6-Jun-2023"
- ],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "status": "resurrecting",
- "persons_urls": [
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-30",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-30&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-31",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-31&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-01",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-01&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-02",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-02&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-03",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-03&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-04",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-04&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-05",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-05&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-06",
- "entity_order": 0,
- "lifecycle_type": "resurrecting"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-06&entity_order=0&lifecycle_type=resurrecting&cache_invalidation_key=eHmtA4Mo"
- }
- ]
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - returning",
- "count": 379,
- "data": [50, 48, 53, 42, 38, 48, 47, 53],
- "labels": [
- "30-May-2023",
- "31-May-2023",
- "1-Jun-2023",
- "2-Jun-2023",
- "3-Jun-2023",
- "4-Jun-2023",
- "5-Jun-2023",
- "6-Jun-2023"
- ],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "status": "returning",
- "persons_urls": [
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-30",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-30&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-05-31",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-05-31&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-01",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-01&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-02",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-02&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-03",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-03&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-04",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-04&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-05",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-05&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "target_date": "2023-06-06",
- "entity_order": 0,
- "lifecycle_type": "returning"
- },
- "url": "api/person/lifecycle/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=LIFECYCLE&interval=day&sampling_factor=&shown_as=Lifecycle&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&target_date=2023-06-06&entity_order=0&lifecycle_type=returning&cache_invalidation_key=MIC5Bj5V"
- }
- ]
- }
- ],
- "created_at": "2023-06-06T11:49:18.058981Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:49:22.682337Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:49:22.627246Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_13563c4c9001978df3aa0032f7871bc7"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/paths.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/paths.json
deleted file mode 100644
index 693be48d76f82..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/paths.json
+++ /dev/null
@@ -1,361 +0,0 @@
-{
- "id": 24,
- "short_id": "XU7liDTJ",
- "name": "",
- "derived_name": "User paths based on page views",
- "filters": {
- "insight": "PATHS",
- "date_from": "-7d",
- "step_limit": 5,
- "entity_type": "events",
- "funnel_filter": {
- "date_from": "-7d"
- },
- "include_event_types": ["$pageview"],
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [14],
- "dashboard_tiles": [
- {
- "id": 21,
- "dashboard_id": 14,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:47:26.453423Z",
- "next_allowed_client_refresh": "2023-06-06T12:02:26.453423Z",
- "result": [
- {
- "source": "1_https://hedgebox.net",
- "target": "2_https://hedgebox.net/files",
- "value": 400,
- "average_conversion_time": 101085.4325
- },
- {
- "source": "1_https://hedgebox.net",
- "target": "2_https://hedgebox.net/pricing",
- "value": 42,
- "average_conversion_time": 108531.97619047618
- },
- {
- "source": "2_https://hedgebox.net/pricing",
- "target": "3_https://hedgebox.net/signup",
- "value": 23,
- "average_conversion_time": 79419.30434782608
- },
- {
- "source": "2_https://hedgebox.net/pricing",
- "target": "3_https://hedgebox.net",
- "value": 19,
- "average_conversion_time": 84865.94736842105
- },
- {
- "source": "3_https://hedgebox.net",
- "target": "4_https://hedgebox.net/pricing",
- "value": 14,
- "average_conversion_time": 105063.28571428571
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01880da1-6a1a-0000-460b-b8917650d3d0",
- "value": 11,
- "average_conversion_time": 2103.7272727272725
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186c3a4-c104-0000-74e9-ecd6f371fe1f",
- "value": 9,
- "average_conversion_time": 2090.8888888888887
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186952f-6100-0000-c2ef-2fdbea38b750",
- "value": 8,
- "average_conversion_time": 2103.25
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01873881-e9cb-0000-d651-242767fa16fb",
- "value": 8,
- "average_conversion_time": 2075.75
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018744f2-866e-0000-b36a-18ea960a5716",
- "value": 8,
- "average_conversion_time": 2090.875
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01877a29-3618-0000-f395-bd778046eded",
- "value": 8,
- "average_conversion_time": 2088.625
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01878d47-839f-0000-a494-d247dc1748da",
- "value": 8,
- "average_conversion_time": 2071.25
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0187ee05-33a5-0000-ca96-7e8d18b7d97e",
- "value": 8,
- "average_conversion_time": 2067.625
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01880d45-8b3b-0000-ae97-f9902f107c65",
- "value": 8,
- "average_conversion_time": 2086.625
- },
- {
- "source": "4_https://hedgebox.net/pricing",
- "target": "5_https://hedgebox.net",
- "value": 8,
- "average_conversion_time": 88404.625
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/account/settings",
- "value": 7,
- "average_conversion_time": 55.42857142857143
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186675e-d3d6-0000-968b-dcdf0303afe7",
- "value": 7,
- "average_conversion_time": 2096.8571428571427
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01878d7b-a0d6-0000-e0ae-108d94bb8fb4",
- "value": 7,
- "average_conversion_time": 2084.5714285714284
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0187ca96-1aa3-0000-4165-212293a2f7df",
- "value": 7,
- "average_conversion_time": 2070.285714285714
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01886576-d30a-0000-f423-03bdd02c6946",
- "value": 7,
- "average_conversion_time": 2065.8571428571427
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018869a5-abf6-0000-68ee-2b0978ea09d9",
- "value": 7,
- "average_conversion_time": 2085.5714285714284
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/01863378-ba70-0000-eff2-9bad8d81bb1e",
- "value": 6,
- "average_conversion_time": 2080.3333333333335
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/01877a29-3618-0000-f395-bd778046eded",
- "value": 6,
- "average_conversion_time": 2076.3333333333335
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186dd1e-14e1-0000-986b-310a4a8f370a",
- "value": 6,
- "average_conversion_time": 2079.1666666666665
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01872ed5-15ae-0000-7af6-a4b64a0cf493",
- "value": 6,
- "average_conversion_time": 2095.3333333333335
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01873508-a1c3-0000-9461-2c188ba92816",
- "value": 6,
- "average_conversion_time": 2082.5
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01874977-e41f-0000-aace-ebd66477f45d",
- "value": 6,
- "average_conversion_time": 2073.1666666666665
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0187b4cd-3301-0000-1ae4-e0a6774ae1d9",
- "value": 6,
- "average_conversion_time": 2078.1666666666665
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01880364-2d2e-0000-d8c0-5df3627d2041",
- "value": 6,
- "average_conversion_time": 2088.5
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01885051-0a07-0000-36cb-d080b6a7e4ba",
- "value": 6,
- "average_conversion_time": 2076.8333333333335
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01885148-80c5-0000-ac4b-d7ae27867be9",
- "value": 6,
- "average_conversion_time": 2084.3333333333335
- },
- {
- "source": "3_https://hedgebox.net/signup",
- "target": "4_https://hedgebox.net/files",
- "value": 6,
- "average_conversion_time": 87700.33333333333
- },
- {
- "source": "4_https://hedgebox.net/pricing",
- "target": "5_https://hedgebox.net/signup",
- "value": 6,
- "average_conversion_time": 136331.66666666666
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/0186675e-d3d6-0000-968b-dcdf0303afe7",
- "value": 5,
- "average_conversion_time": 2082.6
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/0187cb4e-4c07-0000-c314-251fde87672e",
- "value": 5,
- "average_conversion_time": 2074.4
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186b92e-c6ea-0000-a633-1bcf3d6fbc57",
- "value": 5,
- "average_conversion_time": 2103.8
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0186cdcc-c35c-0000-b597-89f3a046df59",
- "value": 5,
- "average_conversion_time": 2089.2
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018791df-2622-0000-9b5f-9f8a12c14755",
- "value": 5,
- "average_conversion_time": 2079
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0187b4e9-8997-0000-513b-a6ff00498981",
- "value": 5,
- "average_conversion_time": 2086.8
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01880782-1b06-0000-f8b4-61a148bf4dcb",
- "value": 5,
- "average_conversion_time": 2070
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/01881d2d-209e-0000-cfed-fe6b832a620c",
- "value": 5,
- "average_conversion_time": 2083.6
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018841f7-16ca-0000-45a4-bfc6ea448f83",
- "value": 5,
- "average_conversion_time": 2077.2
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018855bd-3946-0000-e5b4-1d4e19c1f02c",
- "value": 5,
- "average_conversion_time": 2099.8
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/018869df-e0ae-0000-323d-4348cf514fbb",
- "value": 5,
- "average_conversion_time": 2068.4
- },
- {
- "source": "2_https://hedgebox.net/files",
- "target": "3_https://hedgebox.net/files/0188749f-a160-0000-a2c7-87c778b82947",
- "value": 5,
- "average_conversion_time": 2094.4
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/0186c3a4-c104-0000-74e9-ecd6f371fe1f",
- "value": 4,
- "average_conversion_time": 2074
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/0186dd1e-14e1-0000-986b-310a4a8f370a",
- "value": 4,
- "average_conversion_time": 2073.75
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/01880ea2-094f-0000-9b17-017b80ea7eeb",
- "value": 4,
- "average_conversion_time": 2092.5
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/0188371a-2065-0000-31c5-9d0dc9e3e5d6",
- "value": 4,
- "average_conversion_time": 2069.25
- },
- {
- "source": "1_https://hedgebox.net/files",
- "target": "2_https://hedgebox.net/files/01885148-80c5-0000-ac4b-d7ae27867be9",
- "value": 4,
- "average_conversion_time": 2080.75
- }
- ],
- "created_at": "2023-06-06T11:47:24.441775Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:47:28.402550Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:47:28.315089Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_717ecd866909b9d11344f60135fd3587"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/retention.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/retention.json
deleted file mode 100644
index 868db698af7e5..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/retention.json
+++ /dev/null
@@ -1,472 +0,0 @@
-{
- "id": 23,
- "short_id": "y0ZfuBXC",
- "name": "",
- "derived_name": "Retention of users based on doing Pageview for the first time and returning with the same event",
- "filters": {
- "period": "Day",
- "insight": "RETENTION",
- "entity_type": "events",
- "target_entity": {
- "id": "$pageview",
- "name": "$pageview",
- "type": "events"
- },
- "retention_type": "retention_first_time",
- "total_intervals": 11,
- "returning_entity": {
- "id": "$pageview",
- "name": "$pageview",
- "type": "events"
- },
- "filter_test_accounts": true,
- "date_from": "-7d"
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [13],
- "dashboard_tiles": [
- {
- "id": 20,
- "dashboard_id": 13,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:46:47.358792Z",
- "next_allowed_client_refresh": "2023-06-06T12:01:47.358792Z",
- "result": [
- {
- "values": [
- {
- "count": 23,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 6,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=6&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 0,
- "people": []
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=8&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=9&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 0,
- "people": []
- }
- ],
- "label": "Day 0",
- "date": "2023-05-27T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B0%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 25,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 4,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=6&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=7&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=8&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 0,
- "people": []
- }
- ],
- "label": "Day 1",
- "date": "2023-05-28T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B1%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 31,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 10,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=6&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 6,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=7&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=8&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 2",
- "date": "2023-05-29T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B2%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 23,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 0,
- "people": []
- },
- {
- "count": 1,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=7&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 3",
- "date": "2023-05-30T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B3%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 44,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 14,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 11,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 6,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 4,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=6&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 4",
- "date": "2023-05-31T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B4%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 32,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 9,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 12,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 4,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=5&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 5",
- "date": "2023-06-01T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B5%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 39,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 12,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 5,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 3,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=4&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 6",
- "date": "2023-06-02T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B6%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 36,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B7%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 7,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B7%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 6,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B7%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 2,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B7%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=3&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 7",
- "date": "2023-06-03T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B7%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 43,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B8%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 8,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B8%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 9,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B8%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=2&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 8",
- "date": "2023-06-04T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B8%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 62,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B9%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "count": 12,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B9%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&selected_interval=1&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 9",
- "date": "2023-06-05T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B9%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- },
- {
- "values": [
- {
- "count": 25,
- "people": [],
- "people_url": "http://localhost:8000/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B10%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "label": "Day 10",
- "date": "2023-06-06T00:00:00Z",
- "people_url": "/api/person/retention/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_values=%5B10%5D&date_from=-11d&display=ActionsTable&insight=RETENTION&period=Day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&retention_type=retention_first_time&returning_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&sampling_factor=&target_entity=%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+null%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+null%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D&total_intervals=11"
- }
- ],
- "created_at": "2023-06-06T11:46:49.045995Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:46:53.543053Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:46:53.447493Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_723f66fc3a4ea04087d17aaa8982df94"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/stickiness.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/stickiness.json
deleted file mode 100644
index 4675def0d4595..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/stickiness.json
+++ /dev/null
@@ -1,178 +0,0 @@
-{
- "id": 25,
- "short_id": "Ilerpfhb",
- "name": "",
- "derived_name": "User stickiness based on Pageview",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "insight": "STICKINESS",
- "interval": "day",
- "shown_as": "Stickiness",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [15],
- "dashboard_tiles": [
- {
- "id": 22,
- "dashboard_id": 15,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:48:30.678985Z",
- "next_allowed_client_refresh": "2023-06-06T12:03:30.678985Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 460,
- "data": [255, 149, 3, 7, 3, 7, 18, 18],
- "labels": ["1 day", "2 days", "3 days", "4 days", "5 days", "6 days", "7 days", "8 days"],
- "days": [1, 2, 3, 4, 5, 6, 7, 8],
- "filter": {
- "date_from": "-7d",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "STICKINESS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "shown_as": "Stickiness"
- },
- "persons_urls": [
- {
- "filter": {
- "stickiness_days": 1,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=1&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 2,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=2&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 3,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=3&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 4,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=4&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 5,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=5&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 6,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=6&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 7,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=7&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- },
- {
- "filter": {
- "stickiness_days": 8,
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/person/stickiness/?date_from=-7d&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=STICKINESS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&shown_as=Stickiness&stickiness_days=8&entity_id=%24pageview&entity_math=total&entity_order=0&cache_invalidation_key=OJGtVV1z"
- }
- ]
- }
- ],
- "created_at": "2023-06-06T11:48:30.147343Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:48:38.221576Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:48:38.143528Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_7cbe69703291295452ea38781467a85b"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trends.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trends.json
deleted file mode 100644
index c27ea5923b316..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trends.json
+++ /dev/null
@@ -1,229 +0,0 @@
-{
- "id": 16,
- "short_id": "9U5fB8sq",
- "name": "",
- "derived_name": "Pageview count",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "ActionsLineGraph",
- "insight": "TRENDS",
- "interval": "day",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [6],
- "dashboard_tiles": [
- {
- "id": 13,
- "dashboard_id": 6,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:27:28.016770Z",
- "next_allowed_client_refresh": "2023-06-06T11:42:28.016770Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 2283,
- "data": [238, 273, 313, 276, 301, 248, 325, 309],
- "labels": [
- "30-May-2023",
- "31-May-2023",
- "1-Jun-2023",
- "2-Jun-2023",
- "3-Jun-2023",
- "4-Jun-2023",
- "5-Jun-2023",
- "6-Jun-2023"
- ],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "persons_urls": [
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-05-30T00:00:00Z",
- "date_to": "2023-05-30T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-05-30T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-05-30T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-05-31T00:00:00Z",
- "date_to": "2023-05-31T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-05-31T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-05-31T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-01T00:00:00Z",
- "date_to": "2023-06-01T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-01T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-01T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-02T00:00:00Z",
- "date_to": "2023-06-02T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-02T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-02T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-03T00:00:00Z",
- "date_to": "2023-06-03T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-03T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-03T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-04T00:00:00Z",
- "date_to": "2023-06-04T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-04T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-04T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-05T00:00:00Z",
- "date_to": "2023-06-05T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-05T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-05T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- },
- {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "date_from": "2023-06-06T00:00:00Z",
- "date_to": "2023-06-06T23:59:59.999999Z",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=2023-06-06T00%3A00%3A00%2B00%3A00&display=ActionsLineGraph&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&date_to=2023-06-06T23%3A59%3A59.999999%2B00%3A00&entity_order=0&cache_invalidation_key=sgbeIYnM"
- }
- ],
- "filter": {
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "date_from": "-7d",
- "display": "ActionsLineGraph",
- "events": [
- {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- }
- ],
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": {
- "type": "AND",
- "values": [
- {
- "key": "id",
- "type": "precalculated-cohort",
- "value": 2
- }
- ]
- },
- "sampling_factor": "",
- "smoothing_intervals": 1
- }
- }
- ],
- "created_at": "2023-06-06T11:27:12.049038Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:27:16.279353Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:27:16.097539Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": null,
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_dd8f477f91209630c238b6ef4b53aa97"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsBoldNumber.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsBoldNumber.json
deleted file mode 100644
index 9d00e1368db6f..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsBoldNumber.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "id": 21,
- "short_id": "4m4lFNSN",
- "name": "",
- "derived_name": "Pageview count",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "BoldNumber",
- "insight": "TRENDS",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [11],
- "dashboard_tiles": [
- {
- "id": 18,
- "dashboard_id": 11,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:42:10.843449Z",
- "next_allowed_client_refresh": "2023-06-06T11:57:10.843449Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2327,
- "filter": {
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "date_from": "-7d",
- "display": "BoldNumber",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=BoldNumber&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&entity_order=0"
- }
- }
- ],
- "created_at": "2023-06-06T11:42:12.277877Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:42:16.232065Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:42:16.131011Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_a5eb48d0c8cf190a43318589a1a623cd"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsHorizontalBar.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsHorizontalBar.json
deleted file mode 100644
index dedffe9777d7d..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsHorizontalBar.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "id": 17,
- "short_id": "fs0p6Wvz",
- "name": "",
- "derived_name": "Pageview count",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "ActionsBarValue",
- "insight": "TRENDS",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [7],
- "dashboard_tiles": [
- {
- "id": 14,
- "dashboard_id": 7,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:30:22.565765Z",
- "next_allowed_client_refresh": "2023-06-06T11:45:22.565765Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2296,
- "filter": {
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "date_from": "-7d",
- "display": "ActionsBarValue",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsBarValue&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&entity_order=0"
- }
- }
- ],
- "created_at": "2023-06-06T11:30:37.879199Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:30:42.062343Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:30:42.005894Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_202c75ce765f5300632393ecc21d1700"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsPie.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsPie.json
deleted file mode 100644
index 69607f3a390af..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsPie.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "id": 19,
- "short_id": "ZTSaMFwg",
- "name": "",
- "derived_name": "Pageview count",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "ActionsPie",
- "insight": "TRENDS",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true,
- "show_values_on_series": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [9],
- "dashboard_tiles": [
- {
- "id": 16,
- "dashboard_id": 9,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:37:45.933717Z",
- "next_allowed_client_refresh": "2023-06-06T11:52:45.933717Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2314,
- "filter": {
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "date_from": "-7d",
- "display": "ActionsPie",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsPie&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&entity_order=0"
- }
- }
- ],
- "created_at": "2023-06-06T11:38:28.147828Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:38:32.521321Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:38:32.445215Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_4b11b4b8d2302719116a8dbf01b199fe"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsTable.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsTable.json
deleted file mode 100644
index 9dffba2218c5d..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsTable.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "id": 18,
- "short_id": "KR0rzcGx",
- "name": "",
- "derived_name": "Pageview count",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "ActionsTable",
- "insight": "TRENDS",
- "date_from": "-7d",
- "entity_type": "events",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [8],
- "dashboard_tiles": [
- {
- "id": 15,
- "dashboard_id": 8,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:33:28.031171Z",
- "next_allowed_client_refresh": "2023-06-06T11:48:28.031171Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2308,
- "filter": {
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "date_from": "-7d",
- "display": "ActionsTable",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "entity_math": "total",
- "entity_order": 0
- },
- "url": "api/projects/1/persons/trends/?breakdown_attribution_type=first_touch&breakdown_normalize_url=False&date_from=-7d&display=ActionsTable&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&entity_math=total&entity_order=0"
- }
- }
- ],
- "created_at": "2023-06-06T11:33:00.225395Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:33:06.559713Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:33:06.346727Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": null,
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_e6046fb6fde023daad680e72fac43a91"
-}
diff --git a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsWorldMap.json b/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsWorldMap.json
deleted file mode 100644
index 0ce09ca4dad50..0000000000000
--- a/frontend/src/lib/components/Cards/InsightCard/__mocks__/trendsWorldMap.json
+++ /dev/null
@@ -1,5954 +0,0 @@
-{
- "id": 20,
- "short_id": "ltuvg3Ai",
- "name": "",
- "derived_name": "Pageview count by event's Country Code",
- "filters": {
- "events": [
- {
- "id": "$pageview",
- "math": "total",
- "name": "$pageview",
- "type": "events",
- "order": 0
- }
- ],
- "display": "WorldMap",
- "insight": "TRENDS",
- "breakdown": "$geoip_country_code",
- "date_from": "-7d",
- "entity_type": "events",
- "breakdown_type": "event",
- "filter_test_accounts": true
- },
- "query": null,
- "order": null,
- "deleted": false,
- "dashboards": [10],
- "dashboard_tiles": [
- {
- "id": 17,
- "dashboard_id": 10,
- "deleted": null
- }
- ],
- "last_refresh": "2023-06-06T11:40:52.917775Z",
- "next_allowed_client_refresh": "2023-06-06T11:55:52.917775Z",
- "result": [
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - US",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1384,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "US",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=US"
- },
- "breakdown_value": "US"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AU",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 123,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AU",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AU"
- },
- "breakdown_value": "AU"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AF",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 67,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AF",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AF"
- },
- "breakdown_value": "AF"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - CD",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 43,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "CD",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=CD"
- },
- "breakdown_value": "CD"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SL",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 38,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SL",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SL"
- },
- "breakdown_value": "SL"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AL",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 36,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AL",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AL"
- },
- "breakdown_value": "AL"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LK",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 36,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LK",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LK"
- },
- "breakdown_value": "LK"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TF",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 34,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TF",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TF"
- },
- "breakdown_value": "TF"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NU",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 31,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NU",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NU"
- },
- "breakdown_value": "NU"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LA",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 29,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LA",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LA"
- },
- "breakdown_value": "LA"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SA",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 29,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SA",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SA"
- },
- "breakdown_value": "SA"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AW",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 28,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AW",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AW"
- },
- "breakdown_value": "AW"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AD",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 27,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AD",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AD"
- },
- "breakdown_value": "AD"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GQ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 26,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GQ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GQ"
- },
- "breakdown_value": "GQ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GD",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 25,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GD",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GD"
- },
- "breakdown_value": "GD"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - IQ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 25,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "IQ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=IQ"
- },
- "breakdown_value": "IQ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KW",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 25,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KW",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KW"
- },
- "breakdown_value": "KW"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 25,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TM"
- },
- "breakdown_value": "TM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 24,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NZ"
- },
- "breakdown_value": "NZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - OM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 24,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "OM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=OM"
- },
- "breakdown_value": "OM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - UY",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 22,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "UY",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=UY"
- },
- "breakdown_value": "UY"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 18,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TH"
- },
- "breakdown_value": "TH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 12,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BO"
- },
- "breakdown_value": "BO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - IM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 12,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "IM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=IM"
- },
- "breakdown_value": "IM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LU",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 10,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LU",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LU"
- },
- "breakdown_value": "LU"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 8,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AM"
- },
- "breakdown_value": "AM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - FM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 7,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "FM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=FM"
- },
- "breakdown_value": "FM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - UG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 7,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "UG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=UG"
- },
- "breakdown_value": "UG"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - DJ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "DJ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=DJ"
- },
- "breakdown_value": "DJ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KG"
- },
- "breakdown_value": "KG"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LY",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LY",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LY"
- },
- "breakdown_value": "LY"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MF",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MF",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MF"
- },
- "breakdown_value": "MF"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MS"
- },
- "breakdown_value": "MS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NO"
- },
- "breakdown_value": "NO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - RS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "RS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=RS"
- },
- "breakdown_value": "RS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - YT",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 4,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "YT",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=YT"
- },
- "breakdown_value": "YT"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - ML",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "ML",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=ML"
- },
- "breakdown_value": "ML"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MN",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MN",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MN"
- },
- "breakdown_value": "MN"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MY",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MY",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MY"
- },
- "breakdown_value": "MY"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TG"
- },
- "breakdown_value": "TG"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - UM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "UM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=UM"
- },
- "breakdown_value": "UM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - ZM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 3,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "ZM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=ZM"
- },
- "breakdown_value": "ZM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AR",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AR",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AR"
- },
- "breakdown_value": "AR"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AS"
- },
- "breakdown_value": "AS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AT",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AT",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AT"
- },
- "breakdown_value": "AT"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BG"
- },
- "breakdown_value": "BG"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BJ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BJ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BJ"
- },
- "breakdown_value": "BJ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BW",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BW",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BW"
- },
- "breakdown_value": "BW"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - CO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "CO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=CO"
- },
- "breakdown_value": "CO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - DE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "DE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=DE"
- },
- "breakdown_value": "DE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - DZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "DZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=DZ"
- },
- "breakdown_value": "DZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - EH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "EH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=EH"
- },
- "breakdown_value": "EH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - FO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "FO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=FO"
- },
- "breakdown_value": "FO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GR",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GR",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GR"
- },
- "breakdown_value": "GR"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - JO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "JO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=JO"
- },
- "breakdown_value": "JO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KZ"
- },
- "breakdown_value": "KZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LI",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LI",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LI"
- },
- "breakdown_value": "LI"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MH"
- },
- "breakdown_value": "MH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MK",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MK",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MK"
- },
- "breakdown_value": "MK"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MQ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MQ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MQ"
- },
- "breakdown_value": "MQ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NE"
- },
- "breakdown_value": "NE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NP",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NP",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NP"
- },
- "breakdown_value": "NP"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - PF",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "PF",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=PF"
- },
- "breakdown_value": "PF"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - PL",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "PL",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=PL"
- },
- "breakdown_value": "PL"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - PM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "PM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=PM"
- },
- "breakdown_value": "PM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SI",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SI",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SI"
- },
- "breakdown_value": "SI"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SO"
- },
- "breakdown_value": "SO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SZ"
- },
- "breakdown_value": "SZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TN",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TN",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TN"
- },
- "breakdown_value": "TN"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TR",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TR",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TR"
- },
- "breakdown_value": "TR"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - WS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 2,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "WS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=WS"
- },
- "breakdown_value": "WS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AO",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AO",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AO"
- },
- "breakdown_value": "AO"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - AZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "AZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=AZ"
- },
- "breakdown_value": "AZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BE"
- },
- "breakdown_value": "BE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BH"
- },
- "breakdown_value": "BH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BM"
- },
- "breakdown_value": "BM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - BZ",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "BZ",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=BZ"
- },
- "breakdown_value": "BZ"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - CI",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "CI",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=CI"
- },
- "breakdown_value": "CI"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - CK",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "CK",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=CK"
- },
- "breakdown_value": "CK"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - CM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "CM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=CM"
- },
- "breakdown_value": "CM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - DM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "DM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=DM"
- },
- "breakdown_value": "DM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - EE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "EE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=EE"
- },
- "breakdown_value": "EE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - ES",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "ES",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=ES"
- },
- "breakdown_value": "ES"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - FI",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "FI",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=FI"
- },
- "breakdown_value": "FI"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GA",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GA",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GA"
- },
- "breakdown_value": "GA"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GF",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GF",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GF"
- },
- "breakdown_value": "GF"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GG"
- },
- "breakdown_value": "GG"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - GT",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "GT",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=GT"
- },
- "breakdown_value": "GT"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - HN",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "HN",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=HN"
- },
- "breakdown_value": "HN"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - IE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "IE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=IE"
- },
- "breakdown_value": "IE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - IS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "IS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=IS"
- },
- "breakdown_value": "IS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - JP",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "JP",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=JP"
- },
- "breakdown_value": "JP"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KE"
- },
- "breakdown_value": "KE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KH"
- },
- "breakdown_value": "KH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - KP",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "KP",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=KP"
- },
- "breakdown_value": "KP"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - LB",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "LB",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=LB"
- },
- "breakdown_value": "LB"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MC",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MC",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MC"
- },
- "breakdown_value": "MC"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - ME",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "ME",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=ME"
- },
- "breakdown_value": "ME"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - MM",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "MM",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=MM"
- },
- "breakdown_value": "MM"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - NL",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "NL",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=NL"
- },
- "breakdown_value": "NL"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - PR",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "PR",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=PR"
- },
- "breakdown_value": "PR"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - PS",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "PS",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=PS"
- },
- "breakdown_value": "PS"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - QA",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "QA",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=QA"
- },
- "breakdown_value": "QA"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - RE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "RE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=RE"
- },
- "breakdown_value": "RE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - SH",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "SH",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=SH"
- },
- "breakdown_value": "SH"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - TD",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "TD",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=TD"
- },
- "breakdown_value": "TD"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - VC",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "VC",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=VC"
- },
- "breakdown_value": "VC"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - VE",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "VE",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=VE"
- },
- "breakdown_value": "VE"
- },
- {
- "action": {
- "id": "$pageview",
- "type": "events",
- "order": 0,
- "name": "$pageview",
- "custom_name": null,
- "math": "total",
- "math_property": null,
- "math_hogql": null,
- "math_group_type_index": null,
- "properties": {}
- },
- "label": "$pageview - VG",
- "count": 0,
- "data": [],
- "labels": [],
- "days": [
- "2023-05-30",
- "2023-05-31",
- "2023-06-01",
- "2023-06-02",
- "2023-06-03",
- "2023-06-04",
- "2023-06-05",
- "2023-06-06"
- ],
- "aggregated_value": 1,
- "filter": {
- "breakdown": "$geoip_country_code",
- "breakdown_attribution_type": "first_touch",
- "breakdown_normalize_url": false,
- "breakdown_type": "event",
- "date_from": "-7d",
- "display": "WorldMap",
- "events": "[{\"id\": \"$pageview\", \"type\": \"events\", \"order\": 0, \"name\": \"$pageview\", \"custom_name\": null, \"math\": \"total\", \"math_property\": null, \"math_hogql\": null, \"math_group_type_index\": null, \"properties\": {}}]",
- "entity_type": "events",
- "insight": "TRENDS",
- "interval": "day",
- "properties": "{\"type\": \"AND\", \"values\": [{\"key\": \"id\", \"type\": \"precalculated-cohort\", \"value\": 2}]}",
- "sampling_factor": "",
- "smoothing_intervals": 1
- },
- "persons": {
- "filter": {
- "entity_id": "$pageview",
- "entity_type": "events",
- "breakdown_value": "VG",
- "breakdown_type": "event"
- },
- "url": "api/projects/1/persons/trends/?breakdown=%24geoip_country_code&breakdown_attribution_type=first_touch&breakdown_normalize_url=False&breakdown_type=event&date_from=-7d&display=WorldMap&events=%5B%7B%22id%22%3A+%22%24pageview%22%2C+%22type%22%3A+%22events%22%2C+%22order%22%3A+0%2C+%22name%22%3A+%22%24pageview%22%2C+%22custom_name%22%3A+null%2C+%22math%22%3A+%22total%22%2C+%22math_property%22%3A+null%2C+%22math_hogql%22%3A+null%2C+%22math_group_type_index%22%3A+null%2C+%22properties%22%3A+%7B%7D%7D%5D&entity_type=events&insight=TRENDS&interval=day&properties=%7B%22type%22%3A+%22AND%22%2C+%22values%22%3A+%5B%7B%22key%22%3A+%22id%22%2C+%22type%22%3A+%22precalculated-cohort%22%2C+%22value%22%3A+2%7D%5D%7D&sampling_factor=&smoothing_intervals=1&entity_id=%24pageview&breakdown_value=VG"
- },
- "breakdown_value": "VG"
- }
- ],
- "created_at": "2023-06-06T11:40:54.798911Z",
- "created_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "description": "",
- "updated_at": "2023-06-06T11:40:59.264382Z",
- "favorited": false,
- "saved": true,
- "last_modified_at": "2023-06-06T11:40:59.156528Z",
- "last_modified_by": {
- "id": 1,
- "uuid": "01889005-a424-0000-871e-3e99fcdb82e4",
- "distinct_id": "T41Cd0saoxbnDii1Disc52mf3M1jzXMG3lloeXdXy0E",
- "first_name": "Employee 427",
- "email": "test@posthog.com",
- "is_email_verified": null
- },
- "is_sample": false,
- "effective_restriction_level": 21,
- "effective_privilege_level": 37,
- "timezone": "UTC",
- "is_cached": true,
- "tags": [],
- "filters_hash": "cache_b0aa69d2e57708fc74a50168bdaf81c5"
-}
diff --git a/frontend/src/lib/components/Cards/TextCard/TextCard.scss b/frontend/src/lib/components/Cards/TextCard/TextCard.scss
index 0652dd7fa64bb..f88af17286e05 100644
--- a/frontend/src/lib/components/Cards/TextCard/TextCard.scss
+++ b/frontend/src/lib/components/Cards/TextCard/TextCard.scss
@@ -9,13 +9,13 @@
overflow-y: auto;
ul {
- list-style: disc;
- padding-inline-start: 1.5em;
+ list-style-type: disc;
+ list-style-position: inside;
}
ol {
- list-style: numeric;
- padding-inline-start: 1.5em;
+ list-style-type: numeric;
+ list-style-position: inside;
}
img {
diff --git a/frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx b/frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx
index 07072e29b3c07..e6790f8446a6b 100644
--- a/frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx
+++ b/frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx
@@ -2,12 +2,12 @@ import { Meta, Story } from '@storybook/react'
import { DashboardTile, InsightColor } from '~/types'
import { TextCard } from './TextCard'
-export default {
+const meta: Meta = {
title: 'Components/Cards/Text Card',
component: TextCard,
parameters: {},
-} as Meta
-
+}
+export default meta
const makeTextTile = (body: string, color: InsightColor | null = null): DashboardTile => {
return {
id: 1,
@@ -70,6 +70,7 @@ export const Template: Story = () => {
textTile={makeTextTile('showing handles')}
/>
+ {/* eslint-disable-next-line react/forbid-dom-props */}
Large Card
, Resizeable {
dashboardId?: string | number
@@ -24,16 +24,16 @@ interface TextCardProps extends React.HTMLAttributes, Resizeable
showEditingControls?: boolean
}
-interface TextCardBodyProps extends Pick, 'style'> {
+interface TextCardBodyProps extends Pick, 'style' | 'className'> {
text: string
closeDetails?: () => void
}
-export function TextContent({ text, closeDetails, style }: TextCardBodyProps): JSX.Element {
+export function TextContent({ text, closeDetails, style, className }: TextCardBodyProps): JSX.Element {
return (
// eslint-disable-next-line react/forbid-dom-props
- closeDetails?.()} style={style}>
-
{text}
+
closeDetails?.()} style={style}>
+ {text}
)
}
diff --git a/frontend/src/lib/components/Cards/TextCard/TextCardModal.tsx b/frontend/src/lib/components/Cards/TextCard/TextCardModal.tsx
index f1e9c7a9f46ad..a29655f96afba 100644
--- a/frontend/src/lib/components/Cards/TextCard/TextCardModal.tsx
+++ b/frontend/src/lib/components/Cards/TextCard/TextCardModal.tsx
@@ -4,7 +4,7 @@ import { useActions, useValues } from 'kea'
import { LemonModal } from 'lib/lemon-ui/LemonModal'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { Field, Form } from 'kea-forms'
-import { LemonTextMarkdown } from 'lib/lemon-ui/LemonTextArea/LemonTextArea'
+import { LemonTextAreaMarkdown } from 'lib/lemon-ui/LemonTextArea/LemonTextArea'
import { PayGateMini } from 'lib/components/PayGateMini/PayGateMini'
import { userLogic } from 'scenes/userLogic'
@@ -71,7 +71,7 @@ export function TextCardModal({
>
-
+
diff --git a/frontend/src/lib/components/ChartFilter/ChartFilter.tsx b/frontend/src/lib/components/ChartFilter/ChartFilter.tsx
index 2a18ad3c0b810..89b5d39673e46 100644
--- a/frontend/src/lib/components/ChartFilter/ChartFilter.tsx
+++ b/frontend/src/lib/components/ChartFilter/ChartFilter.tsx
@@ -1,5 +1,4 @@
import { useActions, useValues } from 'kea'
-import { chartFilterLogic } from './chartFilterLogic'
import {
IconShowChart,
IconCumulativeChart,
@@ -18,8 +17,8 @@ import { insightVizDataLogic } from 'scenes/insights/insightVizDataLogic'
export function ChartFilter(): JSX.Element {
const { insightProps } = useValues(insightLogic)
- const { chartFilter } = useValues(chartFilterLogic(insightProps))
- const { setChartFilter } = useActions(chartFilterLogic(insightProps))
+ const { display } = useValues(insightVizDataLogic(insightProps))
+ const { updateInsightFilter } = useActions(insightVizDataLogic(insightProps))
const { isTrends, isSingleSeries, formula, breakdown } = useValues(insightVizDataLogic(insightProps))
@@ -109,9 +108,9 @@ export function ChartFilter(): JSX.Element {
return (
{
- setChartFilter(value as ChartDisplayType)
+ updateInsightFilter({ display: value })
}}
dropdownPlacement="bottom-end"
optionTooltipPlacement="left"
diff --git a/frontend/src/lib/components/ChartFilter/chartFilterLogic.ts b/frontend/src/lib/components/ChartFilter/chartFilterLogic.ts
deleted file mode 100644
index a94e57dcc76cd..0000000000000
--- a/frontend/src/lib/components/ChartFilter/chartFilterLogic.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import { kea } from 'kea'
-import type { chartFilterLogicType } from './chartFilterLogicType'
-import { ChartDisplayType, InsightLogicProps } from '~/types'
-import { keyForInsightLogicProps } from 'scenes/insights/sharedUtils'
-import { insightVizDataLogic } from 'scenes/insights/insightVizDataLogic'
-
-export const chartFilterLogic = kea({
- props: {} as InsightLogicProps,
- key: keyForInsightLogicProps('new'),
- path: (key) => ['lib', 'components', 'ChartFilter', 'chartFilterLogic', key],
- connect: (props: InsightLogicProps) => ({
- actions: [insightVizDataLogic(props), ['updateInsightFilter', 'updateBreakdown']],
- values: [insightVizDataLogic(props), ['isTrends', 'isStickiness', 'display', 'series']],
- }),
-
- actions: () => ({
- setChartFilter: (chartFilter: ChartDisplayType) => ({ chartFilter }),
- }),
-
- selectors: {
- chartFilter: [(s) => [s.display], (display): ChartDisplayType | null | undefined => display],
- },
-
- listeners: ({ actions, values }) => ({
- setChartFilter: ({ chartFilter }) => {
- const { isTrends, isStickiness, display, series } = values
- const newDisplay = chartFilter as ChartDisplayType
-
- if ((isTrends || isStickiness) && display !== newDisplay) {
- actions.updateInsightFilter({ display: newDisplay })
-
- // For the map, make sure we are breaking down by country
- if (isTrends && newDisplay === ChartDisplayType.WorldMap) {
- const math = series?.[0].math
-
- actions.updateBreakdown({
- breakdown: '$geoip_country_code',
- breakdown_type: ['dau', 'weekly_active', 'monthly_active'].includes(math || '')
- ? 'person'
- : 'event',
- })
- }
- }
- },
- }),
-})
diff --git a/frontend/src/lib/components/CodeEditors.tsx b/frontend/src/lib/components/CodeEditors.tsx
new file mode 100644
index 0000000000000..1088a710d25e2
--- /dev/null
+++ b/frontend/src/lib/components/CodeEditors.tsx
@@ -0,0 +1,29 @@
+import { Spinner } from 'lib/lemon-ui/Spinner'
+import { inStorybookTestRunner } from 'lib/utils'
+import MonacoEditor, { type EditorProps } from '@monaco-editor/react'
+import { themeLogic } from '~/layout/navigation-3000/themeLogic'
+import { useValues } from 'kea'
+
+export type CodeEditorProps = Omit
+
+export function CodeEditor({ options, ...editorProps }: CodeEditorProps): JSX.Element {
+ const { isDarkModeOn } = useValues(themeLogic)
+
+ const scrollbarRendering = !inStorybookTestRunner() ? 'auto' : 'hidden'
+
+ return (
+ }
+ options={{
+ ...options,
+ scrollbar: {
+ vertical: scrollbarRendering,
+ horizontal: scrollbarRendering,
+ ...options?.scrollbar,
+ },
+ }}
+ {...editorProps}
+ />
+ )
+}
diff --git a/frontend/src/lib/components/CodeSnippet/CodeSnippet.scss b/frontend/src/lib/components/CodeSnippet/CodeSnippet.scss
index 87a256ecda539..f7d40aaf1a9b5 100644
--- a/frontend/src/lib/components/CodeSnippet/CodeSnippet.scss
+++ b/frontend/src/lib/components/CodeSnippet/CodeSnippet.scss
@@ -1,21 +1,21 @@
.CodeSnippet {
position: relative;
+ font-size: 0.875rem;
+ &.CodeSnippet--compact {
+ font-size: 0.8125rem;
+ .CodeSnippet__actions {
+ top: 0.375rem;
+ right: 0.375rem;
+ }
+ }
.CodeSnippet__actions {
position: absolute;
display: flex;
top: 0.25rem;
right: 0.25rem;
gap: 0.5rem;
- font-size: 1.5rem;
-
- // NOTE: This is not ideal as we should not override core components styles but...
- .LemonButton {
- background: transparent !important;
- box-shadow: transparent !important;
-
- .LemonIcon {
- color: #fff;
- }
+ .LemonButton .LemonIcon {
+ color: #fff;
}
}
}
diff --git a/frontend/src/lib/components/CodeSnippet/CodeSnippet.tsx b/frontend/src/lib/components/CodeSnippet/CodeSnippet.tsx
index 3af750522f305..180ac9e794838 100644
--- a/frontend/src/lib/components/CodeSnippet/CodeSnippet.tsx
+++ b/frontend/src/lib/components/CodeSnippet/CodeSnippet.tsx
@@ -28,6 +28,7 @@ import { useValues } from 'kea'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { FEATURE_FLAGS } from 'lib/constants'
import { useState } from 'react'
+import clsx from 'clsx'
export enum Language {
Text = 'text',
@@ -83,6 +84,7 @@ export interface CodeSnippetProps {
children: string
language?: Language
wrap?: boolean
+ compact?: boolean
actions?: Action[]
style?: React.CSSProperties
/** What is being copied. @example 'link' */
@@ -95,6 +97,7 @@ export function CodeSnippet({
children: text,
language = Language.Text,
wrap = false,
+ compact = false,
style,
actions,
thing = 'snippet',
@@ -109,15 +112,20 @@ export function CodeSnippet({
return (
// eslint-disable-next-line react/forbid-dom-props
-
+
{actions &&
actions.map(({ icon, callback, popconfirmProps, title }, index) =>
!popconfirmProps ? (
-
+
) : (
-
+
)
)}
@@ -127,6 +135,7 @@ export function CodeSnippet({
onClick={async () => {
text && (await copyToClipboard(text, thing))
}}
+ size={compact ? 'small' : 'medium'}
/>
([
selectors({
paths: [
(s) => [s.queries],
- (queries: Query[]) => {
+ (queries: Query[]): [string, number][] | null => {
return queries
? Object.entries(
queries
.map((result) => result.path)
- .reduce((acc, val) => {
+ .reduce((acc: { [path: string]: number }, val: string) => {
acc[val] = acc[val] === undefined ? 1 : (acc[val] += 1)
return acc
}, {})
diff --git a/frontend/src/lib/components/CommandPalette/commandPaletteLogic.tsx b/frontend/src/lib/components/CommandPalette/commandPaletteLogic.tsx
index b6be6e7961e8b..a29dca16342ae 100644
--- a/frontend/src/lib/components/CommandPalette/commandPaletteLogic.tsx
+++ b/frontend/src/lib/components/CommandPalette/commandPaletteLogic.tsx
@@ -1,4 +1,4 @@
-import { kea } from 'kea'
+import { kea, path, connect, actions, reducers, selectors, listeners, events } from 'kea'
import { router } from 'kea-router'
import type { commandPaletteLogicType } from './commandPaletteLogicType'
import Fuse from 'fuse.js'
@@ -112,14 +112,14 @@ function resolveCommand(source: Command | CommandFlow, argument?: string, prefix
return resultsWithCommand
}
-export const commandPaletteLogic = kea({
- path: ['lib', 'components', 'CommandPalette', 'commandPaletteLogic'],
- connect: {
+export const commandPaletteLogic = kea([
+ path(['lib', 'components', 'CommandPalette', 'commandPaletteLogic']),
+ connect({
actions: [personalAPIKeysLogic, ['createKey'], router, ['push']],
values: [teamLogic, ['currentTeam'], userLogic, ['user']],
logic: [preflightLogic],
- },
- actions: {
+ }),
+ actions({
hidePalette: true,
showPalette: true,
togglePalette: true,
@@ -135,8 +135,8 @@ export const commandPaletteLogic = kea({
deregisterCommand: (commandKey: string) => ({ commandKey }),
setCustomCommand: (commandKey: string) => ({ commandKey }),
deregisterScope: (scope: string) => ({ scope }),
- },
- reducers: {
+ }),
+ reducers({
isPaletteShown: [
false,
{
@@ -196,67 +196,8 @@ export const commandPaletteLogic = kea({
},
},
],
- },
-
- listeners: ({ actions, values }) => ({
- showPalette: () => {
- posthog.capture('palette shown', { isMobile: isMobile() })
- },
- togglePalette: () => {
- if (values.isPaletteShown) {
- posthog.capture('palette shown', { isMobile: isMobile() })
- }
- },
- executeResult: ({ result }: { result: CommandResult }) => {
- if (result.executor === true) {
- actions.activateFlow(null)
- actions.hidePalette()
- } else {
- const possibleFlow = result.executor?.() || null
- actions.activateFlow(possibleFlow)
- if (!possibleFlow) {
- actions.hidePalette()
- }
- }
- // Capture command execution, without useless data
- const { icon, index, ...cleanedResult }: Record = result
- const { resolver, ...cleanedCommand } = cleanedResult.source
- cleanedResult.source = cleanedCommand
- cleanedResult.isMobile = isMobile()
- posthog.capture('palette command executed', cleanedResult)
- },
- deregisterScope: ({ scope }) => {
- for (const command of Object.values(values.commandRegistrations)) {
- if (command.scope === scope) {
- actions.deregisterCommand(command.key)
- }
- }
- },
- setInput: async ({ input }, breakpoint) => {
- await breakpoint(300)
- if (input.length > 8) {
- const response = await api.persons.list({ search: input })
- const person = response.results[0]
- if (person) {
- actions.registerCommand({
- key: `person-${person.distinct_ids[0]}`,
- resolver: [
- {
- icon: IconPersonFilled,
- display: `View person ${input}`,
- executor: () => {
- const { push } = router.actions
- push(urls.person(person.distinct_ids[0]))
- },
- },
- ],
- scope: GLOBAL_COMMAND_SCOPE,
- })
- }
- }
- },
}),
- selectors: {
+ selectors({
isSqueak: [
(selectors) => [selectors.input],
(input: string) => {
@@ -390,9 +331,66 @@ export const commandPaletteLogic = kea({
return resultsGroupedInOrder
},
],
- },
-
- events: ({ actions, values }) => ({
+ }),
+ listeners(({ actions, values }) => ({
+ showPalette: () => {
+ posthog.capture('palette shown', { isMobile: isMobile() })
+ },
+ togglePalette: () => {
+ if (values.isPaletteShown) {
+ posthog.capture('palette shown', { isMobile: isMobile() })
+ }
+ },
+ executeResult: ({ result }: { result: CommandResult }) => {
+ if (result.executor === true) {
+ actions.activateFlow(null)
+ actions.hidePalette()
+ } else {
+ const possibleFlow = result.executor?.() || null
+ actions.activateFlow(possibleFlow)
+ if (!possibleFlow) {
+ actions.hidePalette()
+ }
+ }
+ // Capture command execution, without useless data
+ const { icon, index, ...cleanedResult }: Record = result
+ const { resolver, ...cleanedCommand } = cleanedResult.source
+ cleanedResult.source = cleanedCommand
+ cleanedResult.isMobile = isMobile()
+ posthog.capture('palette command executed', cleanedResult)
+ },
+ deregisterScope: ({ scope }) => {
+ for (const command of Object.values(values.commandRegistrations)) {
+ if (command.scope === scope) {
+ actions.deregisterCommand(command.key)
+ }
+ }
+ },
+ setInput: async ({ input }, breakpoint) => {
+ await breakpoint(300)
+ if (input.length > 8) {
+ const response = await api.persons.list({ search: input })
+ const person = response.results[0]
+ if (person) {
+ actions.registerCommand({
+ key: `person-${person.distinct_ids[0]}`,
+ resolver: [
+ {
+ icon: IconPersonFilled,
+ display: `View person ${input}`,
+ executor: () => {
+ const { push } = router.actions
+ push(urls.personByDistinctId(person.distinct_ids[0]))
+ },
+ },
+ ],
+ scope: GLOBAL_COMMAND_SCOPE,
+ })
+ }
+ }
+ },
+ })),
+ events(({ actions, values }) => ({
afterMount: () => {
const { push } = actions
@@ -730,13 +728,6 @@ export const commandPaletteLogic = kea({
}),
}),
},
- {
- icon: IconRecording,
- display: 'Schedule Quick Call',
- executor: () => {
- open('https://calendly.com/posthog-feedback')
- },
- },
{
icon: IconGithub,
display: 'Create GitHub Issue',
@@ -768,5 +759,5 @@ export const commandPaletteLogic = kea({
actions.deregisterCommand('share-feedback')
actions.deregisterCommand('debug-copy-session-recording-url')
},
- }),
-})
+ })),
+])
diff --git a/frontend/src/lib/components/CompactList/CompactList.stories.tsx b/frontend/src/lib/components/CompactList/CompactList.stories.tsx
index f94c1feaa5395..dfce25599a81f 100644
--- a/frontend/src/lib/components/CompactList/CompactList.stories.tsx
+++ b/frontend/src/lib/components/CompactList/CompactList.stories.tsx
@@ -1,11 +1,11 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { CompactList } from './CompactList'
import { urls } from 'scenes/urls'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { PersonDisplay } from 'scenes/persons/PersonDisplay'
-export default {
+const meta: Meta = {
title: 'Components/Compact List',
component: CompactList,
argTypes: {
@@ -15,11 +15,13 @@ export default {
},
},
},
-} as ComponentMeta
+}
+export default meta
export function CompactList_({ loading }: { loading: boolean }): JSX.Element {
return (
+ {/* eslint-disable-next-line react/forbid-dom-props */}
+ {/* eslint-disable-next-line react/forbid-dom-props */}
({
- props: {} as InsightLogicProps,
- key: keyForInsightLogicProps('new'),
- path: (key) => ['lib', 'components', 'CompareFilter', 'compareFilterLogic', key],
- connect: (props: InsightLogicProps) => ({
+export const compareFilterLogic = kea([
+ props({} as InsightLogicProps),
+ key(keyForInsightLogicProps('new')),
+ path((key) => ['lib', 'components', 'CompareFilter', 'compareFilterLogic', key]),
+ connect((props: InsightLogicProps) => ({
values: [
insightLogic(props),
['canEditInsight'],
@@ -17,14 +17,12 @@ export const compareFilterLogic = kea({
['compare', 'display', 'insightFilter', 'isLifecycle', 'dateRange'],
],
actions: [insightVizDataLogic(props), ['updateInsightFilter']],
- }),
-
- actions: () => ({
+ })),
+ actions(() => ({
setCompare: (compare: boolean) => ({ compare }),
toggleCompare: true,
- }),
-
- selectors: {
+ })),
+ selectors({
disabled: [
(s) => [s.canEditInsight, s.isLifecycle, s.display, s.dateRange],
(canEditInsight, isLifecycle, display, dateRange) =>
@@ -33,14 +31,13 @@ export const compareFilterLogic = kea({
display === ChartDisplayType.WorldMap ||
dateRange?.date_from === 'all',
],
- },
-
- listeners: ({ values, actions }) => ({
+ }),
+ listeners(({ values, actions }) => ({
setCompare: ({ compare }) => {
actions.updateInsightFilter({ compare })
},
toggleCompare: () => {
actions.setCompare(!values.compare)
},
- }),
-})
+ })),
+])
diff --git a/frontend/src/lib/components/CopyToClipboard.tsx b/frontend/src/lib/components/CopyToClipboard.tsx
index 218e14899c3ce..e1525cee04b23 100644
--- a/frontend/src/lib/components/CopyToClipboard.tsx
+++ b/frontend/src/lib/components/CopyToClipboard.tsx
@@ -35,6 +35,7 @@ export function CopyToClipboardInline({
const content = (
setNoticeHidden(true)}
/>
-
+
Branch: {debugInfo.branch}
-
+
Revision: {debugInfo.revision}
diff --git a/frontend/src/lib/components/DefinitionPopover/DefinitionPopover.tsx b/frontend/src/lib/components/DefinitionPopover/DefinitionPopover.tsx
index 565a7dfd2589f..559bd573735e4 100644
--- a/frontend/src/lib/components/DefinitionPopover/DefinitionPopover.tsx
+++ b/frontend/src/lib/components/DefinitionPopover/DefinitionPopover.tsx
@@ -12,6 +12,7 @@ import { membersLogic } from 'scenes/organization/Settings/membersLogic'
import { Link } from 'lib/lemon-ui/Link'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
+import { LemonMarkdown } from 'lib/lemon-ui/LemonMarkdown'
interface DefinitionPopoverProps {
children: React.ReactNode
@@ -69,12 +70,12 @@ function Header({
{!hideEdit &&
isViewable &&
(hasTaxonomyFeatures ? (
-
Edit
+
Edit
) : (
-
+
Edit
-
+
))}
{!hideView && isViewable && (
@@ -98,7 +99,13 @@ function Header({
}
function Description({ description }: { description: React.ReactNode }): JSX.Element {
- return
{description}
+ return typeof description === 'string' ? (
+
+ {description}
+
+ ) : (
+
{description}
+ )
}
function DescriptionEmpty(): JSX.Element {
@@ -194,7 +201,11 @@ interface GridProps {
function Grid({ children, cols }: GridProps): JSX.Element {
return (
-
+
{children}
)
@@ -214,7 +225,11 @@ function Card({
alignItems?: 'baseline' | 'center' | 'end'
}): JSX.Element {
return (
-
+
{title}
{value &&
{value}
}
diff --git a/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts b/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
index 89f78c9702f4a..931d1b00114d6 100644
--- a/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
+++ b/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
@@ -1,4 +1,5 @@
-import { kea } from 'kea'
+import { loaders } from 'kea-loaders'
+import { kea, props, path, connect, actions, reducers, selectors, listeners, events } from 'kea'
import type { definitionPopoverLogicType } from './definitionPopoverLogicType'
import { TaxonomicDefinitionTypes, TaxonomicFilterGroupType } from 'lib/components/TaxonomicFilter/types'
import { capitalizeFirstLetter } from 'lib/utils'
@@ -33,35 +34,20 @@ export interface DefinitionPopoverLogicProps {
openDetailInNewTab?: boolean
}
-export const definitionPopoverLogic = kea
({
- props: {} as DefinitionPopoverLogicProps,
- connect: {
+export const definitionPopoverLogic = kea([
+ props({} as DefinitionPopoverLogicProps),
+ path(['lib', 'components', 'DefinitionPanel', 'definitionPopoverLogic']),
+ connect({
values: [userLogic, ['hasAvailableFeature']],
- },
- path: ['lib', 'components', 'DefinitionPanel', 'definitionPopoverLogic'],
- actions: {
+ }),
+ actions({
setDefinition: (item: Partial) => ({ item }),
setLocalDefinition: (item: Partial) => ({ item }),
setPopoverState: (state: DefinitionPopoverState) => ({ state }),
handleCancel: true,
recordHoverActivity: true,
- },
- reducers: {
- state: [
- DefinitionPopoverState.View as DefinitionPopoverState,
- {
- setPopoverState: (_, { state }) => state,
- },
- ],
- localDefinition: [
- {} as Partial,
- {
- setDefinition: (_, { item }) => item,
- setLocalDefinition: (state, { item }) => ({ ...state, ...item } as Partial),
- },
- ],
- },
- loaders: ({ values, props, cache }) => ({
+ }),
+ loaders(({ values, props, cache }) => ({
definition: [
{} as Partial,
{
@@ -121,8 +107,23 @@ export const definitionPopoverLogic = kea({
},
},
],
+ })),
+ reducers({
+ state: [
+ DefinitionPopoverState.View as DefinitionPopoverState,
+ {
+ setPopoverState: (_, { state }) => state,
+ },
+ ],
+ localDefinition: [
+ {} as Partial,
+ {
+ setDefinition: (_, { item }) => item,
+ setLocalDefinition: (state, { item }) => ({ ...state, ...item } as Partial),
+ },
+ ],
}),
- selectors: {
+ selectors({
type: [() => [(_, props) => props.type], (type) => type],
hideView: [() => [(_, props) => props.hideView], (hideView) => hideView ?? false],
hideEdit: [() => [(_, props) => props.hideEdit], (hideEdit) => hideEdit ?? false],
@@ -198,8 +199,8 @@ export const definitionPopoverLogic = kea({
return undefined
},
],
- },
- listeners: ({ actions, selectors, values, props, cache }) => ({
+ }),
+ listeners(({ actions, selectors, values, props, cache }) => ({
setDefinition: (_, __, ___, previousState) => {
// Reset definition popover to view mode if context is switched
if (
@@ -247,10 +248,10 @@ export const definitionPopoverLogic = kea({
await breakpoint(IS_TEST_MODE ? 1 : 1000) // Tests will wait for all breakpoints to finish
eventUsageLogic.findMounted()?.actions?.reportDataManagementDefinitionHovered(values.type)
},
- }),
- events: ({ actions }) => ({
+ })),
+ events(({ actions }) => ({
afterMount: () => {
actions.recordHoverActivity()
},
- }),
-})
+ })),
+])
diff --git a/frontend/src/lib/components/Drawer.tsx b/frontend/src/lib/components/Drawer.tsx
index b97872ec5d8c7..2275e52121054 100644
--- a/frontend/src/lib/components/Drawer.tsx
+++ b/frontend/src/lib/components/Drawer.tsx
@@ -1,8 +1,7 @@
import { PropsWithChildren } from 'react'
import { Drawer as AntDrawer } from 'antd'
import { DrawerProps } from 'antd/lib/drawer'
-import { styles } from '~/styles/vars'
export function Drawer(props: PropsWithChildren): JSX.Element {
- return
+ return
}
diff --git a/frontend/src/lib/components/EditableField/EditableField.scss b/frontend/src/lib/components/EditableField/EditableField.scss
index 2237d54bdd727..e853c9c625741 100644
--- a/frontend/src/lib/components/EditableField/EditableField.scss
+++ b/frontend/src/lib/components/EditableField/EditableField.scss
@@ -13,7 +13,7 @@
color: var(--muted);
margin-left: 0.5rem;
}
- .EditableField--highlight {
+ .EditableField__highlight {
display: flex;
flex-direction: row;
align-items: center;
@@ -25,7 +25,7 @@
white-space: pre-wrap;
overflow: auto;
}
- &--editing .EditableField--highlight {
+ &--editing .EditableField__highlight {
flex-grow: 1;
align-items: flex-end;
width: auto;
@@ -46,6 +46,13 @@
overflow: scroll;
white-space: pre;
}
+ .EditableField__actions {
+ flex-shrink: 0;
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ margin-left: 0.5rem;
+ }
input,
textarea {
max-width: 100%;
@@ -60,10 +67,4 @@
align-self: center;
width: 100%;
}
- button {
- &:first-of-type {
- margin-left: 0.75rem;
- }
- margin-left: 0.5rem;
- }
}
diff --git a/frontend/src/lib/components/EditableField/EditableField.stories.tsx b/frontend/src/lib/components/EditableField/EditableField.stories.tsx
index 55b79f11dc34f..50b2d02b1cba8 100644
--- a/frontend/src/lib/components/EditableField/EditableField.stories.tsx
+++ b/frontend/src/lib/components/EditableField/EditableField.stories.tsx
@@ -1,29 +1,30 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta, StoryFn } from '@storybook/react'
import { EditableField as EditableFieldComponent } from './EditableField'
-import { PageHeader } from '../PageHeader'
import { useState } from 'react'
-export default {
+const meta: Meta = {
title: 'Components/Editable Field',
component: EditableFieldComponent,
-} as ComponentMeta
+ tags: ['autodocs'],
+}
+export default meta
-export function EditableField_(): JSX.Element {
- const [savedTitle, setSavedTitle] = useState('Foo')
- const [savedDescription, setSavedDescription] = useState('Lorem ipsum dolor sit amet.')
+const Template: StoryFn = (args) => {
+ const [value, setValue] = useState(args.value ?? 'Lorem ipsum')
return (
- setSavedTitle(value)} />}
- caption={
- setSavedDescription(value)}
- multiline
- />
- }
- />
+
+ setValue(value)} />
+
)
}
+
+export const Default = Template.bind({})
+
+export const MultilineWithMarkdown = Template.bind({})
+MultilineWithMarkdown.args = {
+ multiline: true,
+ markdown: true,
+ value: 'Lorem ipsum **dolor** sit amet, consectetur adipiscing _elit_.',
+}
diff --git a/frontend/src/lib/components/EditableField/EditableField.tsx b/frontend/src/lib/components/EditableField/EditableField.tsx
index 3360c872f608d..40e61b3e57d08 100644
--- a/frontend/src/lib/components/EditableField/EditableField.tsx
+++ b/frontend/src/lib/components/EditableField/EditableField.tsx
@@ -1,13 +1,14 @@
import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'
import './EditableField.scss'
-import { IconEdit } from 'lib/lemon-ui/icons'
+import { IconEdit, IconMarkdown } from 'lib/lemon-ui/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import TextareaAutosize from 'react-textarea-autosize'
import clsx from 'clsx'
import { pluralize } from 'lib/utils'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
+import { LemonMarkdown } from 'lib/lemon-ui/LemonMarkdown'
-interface EditableFieldProps {
+export interface EditableFieldProps {
/** What this field stands for. */
name: string
value: string
@@ -19,6 +20,8 @@ interface EditableFieldProps {
maxLength?: number
autoFocus?: boolean
multiline?: boolean
+ /** Whether to render the content as Markdown in view mode. */
+ markdown?: boolean
compactButtons?: boolean
/** Whether this field should be gated behind a "paywall". */
paywall?: boolean
@@ -46,6 +49,7 @@ export function EditableField({
maxLength,
autoFocus = true,
multiline = false,
+ markdown = false,
compactButtons = false,
paywall = false,
mode,
@@ -106,6 +110,7 @@ export function EditableField({
className
)}
data-attr={dataAttr}
+ // eslint-disable-next-line react/forbid-dom-props
style={style}
>
-
+
{isEditing ? (
<>
{multiline ? (
@@ -151,7 +156,12 @@ export function EditableField({
/>
)}
{!mode && (
- <>
+
+ {markdown && (
+
+
+
+ )}
{saveButtonText}
- >
+
)}
>
) : (
<>
- {tentativeValue ||
{placeholder}}
+ {tentativeValue && markdown ? (
+
{tentativeValue}
+ ) : (
+ tentativeValue ||
{placeholder}
+ )}
{!mode && (
-
}
- size={compactButtons ? 'small' : undefined}
- onClick={() => setLocalIsEditing(true)}
- data-attr={`edit-prop-${name}`}
- disabled={paywall}
- noPadding
- />
+
+ }
+ size={compactButtons ? 'small' : undefined}
+ onClick={() => setLocalIsEditing(true)}
+ data-attr={`edit-prop-${name}`}
+ disabled={paywall}
+ noPadding
+ />
+
)}
>
)}
diff --git a/frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx b/frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx
index ce506983717f1..2a219ae2b396d 100644
--- a/frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx
+++ b/frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx
@@ -1,11 +1,12 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { EmptyMessage } from './EmptyMessage'
-export default {
+const meta: Meta
= {
title: 'Components/Empty Message',
component: EmptyMessage,
-} as ComponentMeta
+}
+export default meta
export function EmptyMessage_(): JSX.Element {
return (
diff --git a/frontend/src/lib/components/EntityFilterInfo.tsx b/frontend/src/lib/components/EntityFilterInfo.tsx
index c08b7b2dda2b7..e1e628b61951d 100644
--- a/frontend/src/lib/components/EntityFilterInfo.tsx
+++ b/frontend/src/lib/components/EntityFilterInfo.tsx
@@ -1,8 +1,7 @@
import { ActionFilter, EntityFilter } from '~/types'
-import { Typography } from 'antd'
-import { TextProps } from 'antd/lib/typography/Text'
import { getKeyMapping } from 'lib/taxonomy'
import { getDisplayNameFromEntityFilter, isAllEventsEntityFilter } from 'scenes/insights/utils'
+import clsx from 'clsx'
interface EntityFilterInfoProps {
filter: EntityFilter | ActionFilter
@@ -11,14 +10,6 @@ interface EntityFilterInfoProps {
style?: React.CSSProperties
}
-function TextWrapper(props: TextProps): JSX.Element {
- return (
-
- {props.children}
-
- )
-}
-
export function EntityFilterInfo({
filter,
allowWrap = false,
@@ -26,7 +17,11 @@ export function EntityFilterInfo({
style,
}: EntityFilterInfoProps): JSX.Element {
if (isAllEventsEntityFilter(filter) && !filter?.custom_name) {
- return All events
+ return (
+
+ All events
+
+ )
}
const title = getDisplayNameFromEntityFilter(filter, false)
@@ -37,9 +32,12 @@ export function EntityFilterInfo({
return (
// eslint-disable-next-line react/forbid-dom-props
-
+
{titleToDisplay}
-
+
)
}
@@ -50,13 +48,19 @@ export function EntityFilterInfo({
return (
// eslint-disable-next-line react/forbid-dom-props
-
+
{customTitle}
-
+
{!showSingleName && (
-
+
({titleToDisplay})
-
+
)}
)
diff --git a/frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx b/frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx
index d260d8130d36d..bd8ffc5935d81 100644
--- a/frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx
+++ b/frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx
@@ -1,11 +1,12 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { ErrorDisplay } from 'lib/components/Errors/ErrorDisplay'
import { EventType, RecordingEventType } from '~/types'
-export default {
+const meta: Meta = {
title: 'Components/Errors/Error Display',
component: ErrorDisplay,
-} as ComponentMeta
+}
+export default meta
function errorEvent(properties: Record): EventType | RecordingEventType {
return {
diff --git a/frontend/src/lib/components/Errors/ErrorDisplay.tsx b/frontend/src/lib/components/Errors/ErrorDisplay.tsx
index 5b21858bd46a5..4c14a6e44412a 100644
--- a/frontend/src/lib/components/Errors/ErrorDisplay.tsx
+++ b/frontend/src/lib/components/Errors/ErrorDisplay.tsx
@@ -2,8 +2,8 @@ import { EventType, RecordingEventType } from '~/types'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'
import { IconFlag } from 'lib/lemon-ui/icons'
import clsx from 'clsx'
-import posthog from 'posthog-js'
import { Link } from 'lib/lemon-ui/Link'
+import posthog from 'posthog-js'
interface StackFrame {
filename: string
@@ -20,7 +20,7 @@ function StackTrace({ rawTrace }: { rawTrace: string }): JSX.Element | null {
const frames = parseToFrames(rawTrace)
return (
<>
- {!!frames.length ? (
+ {frames.length ? (
frames.map((frame, index) => {
const { filename, lineno, colno, function: functionName } = frame
@@ -43,7 +43,7 @@ function StackTrace({ rawTrace }: { rawTrace: string }): JSX.Element | null {
)
} catch (e: any) {
//very meta
- posthog.captureException(e, { tag: 'error-display-stack-trace' })
+ posthog.capture('Cannot parse stack trace in Exception event', { tag: 'error-display-stack-trace', e })
return Error parsing stack trace
}
}
diff --git a/frontend/src/lib/components/EventSelect/EventSelect.stories.tsx b/frontend/src/lib/components/EventSelect/EventSelect.stories.tsx
index 23ae34e0f0b6e..b13517b039dd5 100644
--- a/frontend/src/lib/components/EventSelect/EventSelect.stories.tsx
+++ b/frontend/src/lib/components/EventSelect/EventSelect.stories.tsx
@@ -21,7 +21,7 @@ const eventDefinitions = [
},
]
-export default {
+const meta: Meta = {
title: 'Filters',
decorators: [
mswDecorator({
@@ -37,8 +37,8 @@ export default {
}),
],
parameters: {},
-} as Meta
-
+}
+export default meta
export function EventSelect_(): JSX.Element {
const [selectedEvents, setSelectedEvents] = useState([])
diff --git a/frontend/src/lib/components/ExportButton/ExportButton.tsx b/frontend/src/lib/components/ExportButton/ExportButton.tsx
index 6201806e426fc..b4d6e7e052452 100644
--- a/frontend/src/lib/components/ExportButton/ExportButton.tsx
+++ b/frontend/src/lib/components/ExportButton/ExportButton.tsx
@@ -55,7 +55,7 @@ export function ExportButton({ items, ...buttonProps }: ExportButtonProps): JSX.
data-attr={`export-button-${exportFormatExtension}`}
data-ph-capture-attribute-export-target={target}
data-ph-capture-attribute-export-body={
- !!exportBody.length ? JSON.stringify(exportBody) : null
+ exportBody.length ? JSON.stringify(exportBody) : null
}
>
{title ? title : `.${exportFormatExtension}`}
diff --git a/frontend/src/lib/components/ExportButton/exporter.tsx b/frontend/src/lib/components/ExportButton/exporter.tsx
index 61a00b110d551..84ebf2a5eecb9 100644
--- a/frontend/src/lib/components/ExportButton/exporter.tsx
+++ b/frontend/src/lib/components/ExportButton/exporter.tsx
@@ -48,6 +48,7 @@ export async function triggerExport(asset: TriggerExportProps): Promise {
lemonToast.error('Export failed!')
}
} else {
+ // eslint-disable-next-line no-async-promise-executor
const poller = new Promise(async (resolve, reject) => {
const trackingProperties = {
export_format: asset.export_format,
diff --git a/frontend/src/lib/components/Fade/Fade.tsx b/frontend/src/lib/components/Fade/Fade.tsx
index 33ab73b73e68e..d611ead1591a0 100644
--- a/frontend/src/lib/components/Fade/Fade.tsx
+++ b/frontend/src/lib/components/Fade/Fade.tsx
@@ -30,6 +30,7 @@ export function Fade({
return shouldRender ? (
void
+ readOnly?: boolean
+}
+
+export function FlagSelector({ value, onChange, readOnly }: FlagSelectorProps): JSX.Element {
+ const [visible, setVisible] = useState(false)
+
+ const { featureFlag } = useValues(featureFlagLogic({ id: value || 'link' }))
+
+ const taxonomicFilterLogicProps: TaxonomicFilterLogicProps = {
+ groupType: TaxonomicFilterGroupType.FeatureFlags,
+ value: value,
+ onChange: (_, __, item) => {
+ 'id' in item && item.id && onChange(item.id, item.key)
+ setVisible(false)
+ },
+ taxonomicGroupTypes: [TaxonomicFilterGroupType.FeatureFlags],
+ optionsFromProp: undefined,
+ popoverEnabled: true,
+ selectFirstItem: true,
+ taxonomicFilterLogicKey: 'flag-selectorz',
+ }
+
+ return (
+
}
+ visible={visible}
+ placement="right-start"
+ fallbackPlacements={['left-end', 'bottom']}
+ onClickOutside={() => setVisible(false)}
+ >
+ {readOnly ? (
+
{featureFlag.key}
+ ) : (
+
setVisible(!visible)}>
+ {featureFlag.key ? featureFlag.key : 'Select flag'}
+
+ )}
+
+ )
+}
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx b/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx
index 042f5a3e15620..7a234ce903e49 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx
+++ b/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx
@@ -1,17 +1,18 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { ElementType } from '~/types'
import { HTMLElementsDisplay } from './HTMLElementsDisplay'
-export default {
+const meta: Meta
= {
title: 'Components/Html Elements Display',
component: HTMLElementsDisplay,
-} as ComponentMeta
+}
+export default meta
export function EmptyDisplay(): JSX.Element {
return
}
-export const elementsExample = [
+export const EXAMPLE_ELEMENTS = [
{
text: 'Insights',
tag_name: 'span',
@@ -175,15 +176,15 @@ export const elementsExample = [
] as ElementType[]
export function ReadOnlyDisplay(): JSX.Element {
- return
+ return
}
export function WithoutCentralHghlightDisplay(): JSX.Element {
- return
+ return
}
export function EditableDisplay(): JSX.Element {
- return
+ return
}
export function EditableDisplayWithPreselection(): JSX.Element {
@@ -194,7 +195,7 @@ export function EditableDisplayWithPreselection(): JSX.Element {
@@ -203,5 +204,5 @@ export function EditableDisplayWithPreselection(): JSX.Element {
}
export function WithUniquenessCheck(): JSX.Element {
- return
+ return
}
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.tsx b/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.tsx
index c21aea59c290d..efb03c2927016 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.tsx
+++ b/frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.tsx
@@ -6,6 +6,7 @@ import { useActions, useValues } from 'kea'
import { useState } from 'react'
import { CodeSnippet } from 'lib/components/CodeSnippet'
import { ParsedCSSSelector } from 'lib/components/HTMLElementsDisplay/preselectWithCSS'
+import { Fade } from '../Fade/Fade'
function indent(level: number): string {
return Array(level).fill(' ').join('')
@@ -18,10 +19,21 @@ function CloseAllTags({ elements }: { elements: ElementType[] }): JSX.Element {
.reverse()
.slice(1)
.map((element, index) => (
-
- {indent(elements.length - index - 2)}
- </{element.tag_name}>
-
+
+
+ {indent(elements.length - index - 2)}
+ </{element.tag_name}>
+
+
))}
>
)
@@ -43,17 +55,27 @@ function Tags({
return (
<>
{elements.map((element, index) => {
+ const reverseIndex = elements.length - 1 - index
+
return (
- (editable ? onChange(index, s) : undefined)}
- readonly={!editable}
- indent={indent(index)}
- highlight={highlight}
- parsedCSSSelector={parsedCSSSelectors[index]}
- />
+
+ (editable ? onChange(index, s) : undefined)}
+ readonly={!editable}
+ indent={indent(index)}
+ highlight={highlight}
+ parsedCSSSelector={parsedCSSSelectors[index]}
+ />
+
)
})}
>
@@ -93,12 +115,19 @@ export function HTMLElementsDisplay({
const [key] = useState(() => `HtmlElementsDisplay.${uniqueNode++}`)
const logic = htmlElementsDisplayLogic({ checkUniqueness, onChange, key, startingSelector, providedElements })
- const { parsedSelectors, chosenSelector, chosenSelectorMatchCount, messageStatus, elements } = useValues(logic)
- const { setParsedSelectors } = useActions(logic)
+ const {
+ parsedSelectors,
+ chosenSelector,
+ chosenSelectorMatchCount,
+ messageStatus,
+ elementsToShowDepth,
+ parsedElements,
+ } = useValues(logic)
+ const { setParsedSelectors, showAdditionalElements } = useActions(logic)
return (
- {editable && !!elements.length && (
+ {editable && !!parsedElements.length && (
Selector: {chosenSelector}
@@ -114,16 +143,27 @@ export function HTMLElementsDisplay({
)}
- {elements.length ? (
+ {parsedElements.length ? (
<>
+ {elementsToShowDepth ? (
+
+ {`Show ${Math.min(3, elementsToShowDepth)} more parent${
+ elementsToShowDepth > 1 ? 's' : ''
+ } (${elementsToShowDepth} hidden)`}
+
+ ) : null}
setParsedSelectors({ ...parsedSelectors, [index]: s })}
/>
-
+
>
) : (
No elements to display
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/SelectableElement.tsx b/frontend/src/lib/components/HTMLElementsDisplay/SelectableElement.tsx
index d0a7d9a8808e7..37aa45c5f5710 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/SelectableElement.tsx
+++ b/frontend/src/lib/components/HTMLElementsDisplay/SelectableElement.tsx
@@ -47,7 +47,7 @@ function IdPart({
const htmlElementsSelector = clsx('decoration-primary-highlight', !readonly && 'cursor-pointer SelectableElement')
const isSelected = !readonly && !!selectedParts.id
- return !!id ? (
+ return id ? (
{
e.stopPropagation()
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/htmlElementsDisplayLogic.ts b/frontend/src/lib/components/HTMLElementsDisplay/htmlElementsDisplayLogic.ts
index 817f539cafb18..12d73a9792a86 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/htmlElementsDisplayLogic.ts
+++ b/frontend/src/lib/components/HTMLElementsDisplay/htmlElementsDisplayLogic.ts
@@ -20,7 +20,7 @@ export interface HtmlElementDisplayLogicProps {
export const elementsChain = (providedElements: ElementType[] | undefined): ElementType[] => {
const safeElements = [...(providedElements || [])]
- return safeElements.reverse().slice(Math.max(safeElements.length - 10, 1))
+ return safeElements.reverse()
}
export const htmlElementsDisplayLogic = kea([
@@ -30,6 +30,7 @@ export const htmlElementsDisplayLogic = kea([
actions({
setParsedSelectors: (selectors: Record) => ({ selectors }),
setElements: (providedElements: ElementType[]) => ({ providedElements }),
+ showAdditionalElements: true,
}),
reducers(({ props }) => ({
elements: [
@@ -38,10 +39,9 @@ export const htmlElementsDisplayLogic = kea([
],
parsedSelectorsRaw: [
{} as Record,
- {
- setParsedSelectors: (_, { selectors }) => selectors,
- },
+ { setParsedSelectors: (_, { selectors }) => selectors },
],
+ visibleElements: [10, { showAdditionalElements: (state) => state + 3 }],
})),
propsChanged(({ actions, props }, oldProps) => {
if (props.providedElements && !objectsEqual(props.providedElements, oldProps.providedElements)) {
@@ -57,6 +57,18 @@ export const htmlElementsDisplayLogic = kea([
? preselect(providedElements, startingSelector)
: parsedSelectorsRaw,
],
+ parsedElements: [
+ (s) => [s.elements, s.visibleElements],
+ (elements, visibleElements) => {
+ return elements.slice(Math.max(elements.length - visibleElements, 0))
+ },
+ ],
+ elementsToShowDepth: [
+ (s) => [s.elements, s.visibleElements],
+ (elements: ElementType[], visibleElements: number) => {
+ return Math.max(elements.length - visibleElements, 0)
+ },
+ ],
// contains the selector string built from the parsed selectors
chosenSelector: [
(s) => [s.parsedSelectors],
@@ -68,10 +80,10 @@ export const htmlElementsDisplayLogic = kea([
.map((k) => Number.parseInt(k))
.sort()
.forEach((key) => {
- const selector = !!parsedSelectors[key]
+ const selector = parsedSelectors[key]
? parsedSelectorToSelectorString(parsedSelectors[key])
: ''
- if (!!selector.trim().length) {
+ if (selector.trim().length) {
if (lastKey === key - 1 && !!builtSelector.trim().length) {
builtSelector += ` > ${selector}`
} else {
@@ -81,7 +93,7 @@ export const htmlElementsDisplayLogic = kea([
lastKey = key
})
- builtSelector = !!builtSelector.trim().length ? builtSelector.trim() : 'no selectors chosen'
+ builtSelector = builtSelector.trim().length ? builtSelector.trim() : 'no selectors chosen'
return builtSelector
},
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.test.ts b/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.test.ts
index 43afcd8b49d7c..03fffb3b47f33 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.test.ts
+++ b/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.test.ts
@@ -5,7 +5,7 @@ import {
preselect,
parsedSelectorToSelectorString,
} from 'lib/components/HTMLElementsDisplay/preselectWithCSS'
-import { elementsExample } from 'lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories'
+import { EXAMPLE_ELEMENTS } from 'lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories'
import { elementsChain } from 'lib/components/HTMLElementsDisplay/htmlElementsDisplayLogic'
const elements = [
@@ -382,18 +382,18 @@ describe('can preselect selectors for editing', () => {
test('fixing the storybook example', () => {
const selector = 'div div.SideBar .LemonButton__content span.text-default'
- expect(preselect(elementsChain(elementsExample), selector)).toEqual({
- '0': {
+ expect(preselect(elementsChain(EXAMPLE_ELEMENTS), selector)).toEqual({
+ '1': {
tag: 'div',
},
- '1': {
+ '3': {
class: ['SideBar'],
tag: 'div',
},
- '8': {
+ '10': {
class: ['LemonButton__content'],
},
- '9': {
+ '11': {
class: ['text-default'],
tag: 'span',
},
diff --git a/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.ts b/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.ts
index b314aca6e0c8f..e7288e9118028 100644
--- a/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.ts
+++ b/frontend/src/lib/components/HTMLElementsDisplay/preselectWithCSS.ts
@@ -115,7 +115,7 @@ export const matchesSelector = (e: ElementType, s: ParsedCSSSelector): boolean =
} else {
// s.class is a string or a string[]
const val: string | string[] | undefined = s[key]
- if (!!val) {
+ if (val) {
const keysToMatch: string[] | undefined = Array.isArray(val) ? val : [val]
// it matches if every item in s[key] is in e.attributes[key]
if (
diff --git a/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.stories.tsx b/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.stories.tsx
index 4b7f34f1aa250..63e648a6b07f2 100644
--- a/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.stories.tsx
+++ b/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.stories.tsx
@@ -1,15 +1,16 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react'
+import { Meta, StoryFn } from '@storybook/react'
import { HedgehogBuddy } from './HedgehogBuddy'
-export default {
+const meta: Meta = {
title: 'Components/Hedgehog Buddy',
component: HedgehogBuddy,
parameters: {
testOptions: { skip: true }, // Hedgehogs aren't particularly snapshotable
},
-} as ComponentMeta
+}
+export default meta
-export const TheHedgehog: ComponentStory = () => {
+export const TheHedgehog: StoryFn = () => {
return (
// eslint-disable-next-line react/forbid-dom-props
@@ -18,6 +19,7 @@ export const TheHedgehog: ComponentStory = () => {
// eslint-disable-next-line no-console
console.log('should close')
}}
+ isDarkModeOn={false}
/>
)
diff --git a/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.tsx b/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.tsx
index 60b23c8974732..c777e1d06c0a9 100644
--- a/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.tsx
+++ b/frontend/src/lib/components/HedgehogBuddy/HedgehogBuddy.tsx
@@ -390,17 +390,18 @@ export function HedgehogBuddy({
onClick: _onClick,
onPositionChange,
popoverOverlay,
+ isDarkModeOn,
}: {
actorRef?: MutableRefObject
onClose: () => void
onClick?: () => void
onPositionChange?: (actor: HedgehogActor) => void
popoverOverlay?: React.ReactNode
+ // passed in because toolbar needs to check this differently than the app
+ isDarkModeOn: boolean
}): JSX.Element {
const actorRef = useRef()
- const { isDarkModeOn } = useValues(themeLogic)
-
if (!actorRef.current) {
actorRef.current = new HedgehogActor()
if (_actorRef) {
@@ -538,6 +539,11 @@ export function HedgehogBuddy({
export function HedgehogBuddyWithLogic(): JSX.Element {
const { hedgehogModeEnabled } = useValues(hedgehogbuddyLogic)
const { setHedgehogModeEnabled } = useActions(hedgehogbuddyLogic)
+ const { isDarkModeOn } = useValues(themeLogic)
- return hedgehogModeEnabled ? setHedgehogModeEnabled(false)} /> : <>>
+ return hedgehogModeEnabled ? (
+ setHedgehogModeEnabled(false)} isDarkModeOn={isDarkModeOn} />
+ ) : (
+ <>>
+ )
}
diff --git a/frontend/src/lib/components/HedgehogBuddy/hedgehogbuddyLogic.ts b/frontend/src/lib/components/HedgehogBuddy/hedgehogbuddyLogic.ts
index 3de9979479f9a..e2c1215290f2f 100644
--- a/frontend/src/lib/components/HedgehogBuddy/hedgehogbuddyLogic.ts
+++ b/frontend/src/lib/components/HedgehogBuddy/hedgehogbuddyLogic.ts
@@ -12,7 +12,7 @@ export const hedgehogbuddyLogic = kea([
removeAccessory: (accessory: AccessoryInfo) => ({ accessory }),
}),
- reducers(({}) => ({
+ reducers(() => ({
hedgehogModeEnabled: [
false as boolean,
{ persist: true },
@@ -47,7 +47,7 @@ export const hedgehogbuddyLogic = kea([
],
}),
- listeners(({}) => ({
+ listeners(() => ({
setHedgehogModeEnabled: ({ enabled }) => {
if (enabled) {
posthog.capture('hedgehog mode enabled')
diff --git a/frontend/src/lib/components/HelpButton/HelpButton.tsx b/frontend/src/lib/components/HelpButton/HelpButton.tsx
index c9d55ae9e5c81..e15f1b62664f4 100644
--- a/frontend/src/lib/components/HelpButton/HelpButton.tsx
+++ b/frontend/src/lib/components/HelpButton/HelpButton.tsx
@@ -1,5 +1,5 @@
import './HelpButton.scss'
-import { kea, useActions, useValues } from 'kea'
+import { kea, useActions, useValues, props, key, path, connect, actions, reducers, listeners } from 'kea'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { HelpType } from '~/types'
import type { helpButtonLogicType } from './HelpButtonType'
@@ -27,21 +27,23 @@ import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
const HELP_UTM_TAGS = '?utm_medium=in-product&utm_campaign=help-button-top'
-export const helpButtonLogic = kea({
- props: {} as {
- key?: string
- },
- key: (props: { key?: string }) => props.key || 'global',
- path: (key) => ['lib', 'components', 'HelpButton', key],
- connect: {
+export const helpButtonLogic = kea([
+ props(
+ {} as {
+ key?: string
+ }
+ ),
+ key((props: { key?: string }) => props.key || 'global'),
+ path((key) => ['lib', 'components', 'HelpButton', key]),
+ connect({
actions: [eventUsageLogic, ['reportHelpButtonViewed']],
- },
- actions: {
+ }),
+ actions({
toggleHelp: true,
showHelp: true,
hideHelp: true,
- },
- reducers: {
+ }),
+ reducers({
isHelpVisible: [
false,
{
@@ -50,8 +52,8 @@ export const helpButtonLogic = kea({
hideHelp: () => false,
},
],
- },
- listeners: ({ actions, values }) => ({
+ }),
+ listeners(({ actions, values }) => ({
showHelp: () => {
actions.reportHelpButtonViewed()
},
@@ -60,8 +62,8 @@ export const helpButtonLogic = kea({
actions.reportHelpButtonViewed()
}
},
- }),
-})
+ })),
+])
export interface HelpButtonProps {
placement?: Placement
@@ -89,9 +91,9 @@ export function HelpButton({
const { hedgehogModeEnabled } = useValues(hedgehogbuddyLogic)
const { setHedgehogModeEnabled } = useActions(hedgehogbuddyLogic)
const { openSupportForm } = useActions(supportLogic)
- const { preflight } = useValues(preflightLogic)
+ const { isCloudOrDev } = useValues(preflightLogic)
- const showSupportOptions: boolean = preflight?.cloud || false
+ const showSupportOptions: boolean = isCloudOrDev || false
if (contactOnly && !showSupportOptions) {
return null // We don't offer support for self-hosted instances
diff --git a/frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx b/frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx
index b924e3dc8d9a5..e05346f298650 100644
--- a/frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx
+++ b/frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx
@@ -1,27 +1,29 @@
-import { ComponentStory, Meta } from '@storybook/react'
+import { StoryFn, Meta, StoryObj } from '@storybook/react'
import { HogQLEditor } from './HogQLEditor'
import { useState } from 'react'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Components/HogQLEditor',
component: HogQLEditor,
-} as Meta
+}
+export default meta
-const Template: ComponentStory = (props): JSX.Element => {
+const Template: StoryFn = (props): JSX.Element => {
const [value, onChange] = useState(props.value ?? "countIf(properties.$browser = 'Chrome')")
return
}
-export const HogQLEditor_ = Template.bind({})
+export const HogQLEditor_: Story = Template.bind({})
HogQLEditor_.args = {}
-export const NoValue = Template.bind({})
+export const NoValue: Story = Template.bind({})
NoValue.args = {
value: '',
disableAutoFocus: true,
}
-export const NoValuePersonPropertiesDisabled = Template.bind({})
+export const NoValuePersonPropertiesDisabled: Story = Template.bind({})
NoValuePersonPropertiesDisabled.args = {
disablePersonProperties: true,
value: '',
diff --git a/frontend/src/lib/components/HogQLEditor/HogQLEditor.tsx b/frontend/src/lib/components/HogQLEditor/HogQLEditor.tsx
index df01db9b55538..0177f2345311c 100644
--- a/frontend/src/lib/components/HogQLEditor/HogQLEditor.tsx
+++ b/frontend/src/lib/components/HogQLEditor/HogQLEditor.tsx
@@ -5,10 +5,12 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { IconErrorOutline, IconInfo } from 'lib/lemon-ui/icons'
import { useActions, useValues } from 'kea'
import { hogQLEditorLogic } from './hogQLEditorLogic'
+import { Link } from '@posthog/lemon-ui'
export interface HogQLEditorProps {
onChange: (value: string) => void
value: string | undefined
+ hogQLTable?: string
disablePersonProperties?: boolean
disableAutoFocus?: boolean
disableCmdEnter?: boolean
@@ -20,6 +22,7 @@ let uniqueNode = 0
export function HogQLEditor({
onChange,
value,
+ hogQLTable,
disablePersonProperties,
disableAutoFocus,
disableCmdEnter,
@@ -28,7 +31,7 @@ export function HogQLEditor({
}: HogQLEditorProps): JSX.Element {
const [key] = useState(() => `HogQLEditor.${uniqueNode++}`)
const textareaRef = useRef(null)
- const logic = hogQLEditorLogic({ key, value, onChange, textareaRef })
+ const logic = hogQLEditorLogic({ key, value, onChange, hogQLTable, textareaRef })
const { localValue, error, responseLoading } = useValues(logic)
const { setLocalValue, submit } = useActions(logic)
@@ -53,7 +56,9 @@ export function HogQLEditor({
maxRows={6}
placeholder={
placeholder ??
- (disablePersonProperties
+ (hogQLTable === 'persons'
+ ? "Enter HogQL expression, such as:\n- properties.$geoip_country_name\n- toInt(properties.$browser_version) * 10\n- concat(properties.name, ' <', properties.email, '>')\n- is_identified ? 'user' : 'anon'"
+ : disablePersonProperties
? "Enter HogQL expression, such as:\n- properties.$current_url\n- toInt(properties.`Long Field Name`) * 10\n- concat(event, ' ', distinct_id)\n- if(1 < 2, 'small', 'large')"
: "Enter HogQL Expression, such as:\n- properties.$current_url\n- person.properties.$geoip_country_name\n- toInt(properties.`Long Field Name`) * 10\n- concat(event, ' ', distinct_id)\n- if(1 < 2, 'small', 'large')")
}
@@ -89,9 +94,9 @@ export function HogQLEditor({
disablePersonProperties ? '' : 'w-full '
}text-right select-none ${CLICK_OUTSIDE_BLOCK_CLASS}`}
>
-
+
Learn more about HogQL
-
+
>
diff --git a/frontend/src/lib/components/HogQLEditor/hogQLEditorLogic.ts b/frontend/src/lib/components/HogQLEditor/hogQLEditorLogic.ts
index 98cdeff95c17a..0507e78595775 100644
--- a/frontend/src/lib/components/HogQLEditor/hogQLEditorLogic.ts
+++ b/frontend/src/lib/components/HogQLEditor/hogQLEditorLogic.ts
@@ -9,6 +9,7 @@ import React from 'react'
export interface HogQLEditorLogicProps {
key: string
value: string | undefined
+ hogQLTable?: string
onChange: (value: string) => void
textareaRef?: React.MutableRefObject
}
@@ -32,6 +33,7 @@ export const hogQLEditorLogic = kea([
const response = await query({
kind: NodeKind.HogQLMetadata,
expr: values.localValue,
+ table: props.hogQLTable || 'events',
})
breakpoint()
if (response && Array.isArray(response.errors) && response.errors.length > 0) {
diff --git a/frontend/src/lib/components/HoqQLPropertyInfo.tsx b/frontend/src/lib/components/HoqQLPropertyInfo.tsx
new file mode 100644
index 0000000000000..16f0167eecdf4
--- /dev/null
+++ b/frontend/src/lib/components/HoqQLPropertyInfo.tsx
@@ -0,0 +1,13 @@
+import { midEllipsis } from 'lib/utils'
+
+type HoqQLPropertyInfoProps = {
+ value: string
+}
+
+export const HoqQLPropertyInfo = ({ value }: HoqQLPropertyInfoProps): JSX.Element => {
+ return (
+
+ {midEllipsis(value, 60)}
+
+ )
+}
diff --git a/frontend/src/lib/components/InsightLabel/index.tsx b/frontend/src/lib/components/InsightLabel/index.tsx
index 74ac7fef8dd55..0969e8ca353d8 100644
--- a/frontend/src/lib/components/InsightLabel/index.tsx
+++ b/frontend/src/lib/components/InsightLabel/index.tsx
@@ -1,4 +1,4 @@
-import { Space, Tag, Typography } from 'antd'
+import { Tag } from 'antd'
import { ActionFilter, BreakdownKeyType } from '~/types'
import { PropertyKeyInfo } from 'lib/components/PropertyKeyInfo'
import { capitalizeFirstLetter, hexToRGBA, midEllipsis } from 'lib/utils'
@@ -121,6 +121,7 @@ export function InsightLabel({
{!(hasMultipleSeries && !breakdownValue) && !hideIcon && (
0 && (
-
+
{pillValues.map((pill) => (
-
+ {/* eslint-disable-next-line react/forbid-dom-props */}
+
{pillMidEllipsis ? midEllipsis(String(pill), 50) : pill}
-
+
))}
-
+
)}
diff --git a/frontend/src/lib/components/InsightLegend/InsightLegend.scss b/frontend/src/lib/components/InsightLegend/InsightLegend.scss
index da3cd7875de4d..30aab2ee059eb 100644
--- a/frontend/src/lib/components/InsightLegend/InsightLegend.scss
+++ b/frontend/src/lib/components/InsightLegend/InsightLegend.scss
@@ -19,12 +19,4 @@
}
}
}
-
- &.InsightLegendMenu--readonly {
- .LemonCheckbox--checked {
- svg path {
- stroke: none;
- }
- }
- }
}
diff --git a/frontend/src/lib/components/IntervalFilter/IntervalFilter.tsx b/frontend/src/lib/components/IntervalFilter/IntervalFilter.tsx
index 70210921467af..b8a95dc839191 100644
--- a/frontend/src/lib/components/IntervalFilter/IntervalFilter.tsx
+++ b/frontend/src/lib/components/IntervalFilter/IntervalFilter.tsx
@@ -1,8 +1,8 @@
-import { intervalFilterLogic } from './intervalFilterLogic'
import { useActions, useValues } from 'kea'
-import { IntervalType } from '~/types'
import { insightLogic } from 'scenes/insights/insightLogic'
import { LemonSelect } from '@posthog/lemon-ui'
+import { insightVizDataLogic } from 'scenes/insights/insightVizDataLogic'
+import { InsightQueryNode } from '~/queries/schema'
interface IntervalFilterProps {
disabled?: boolean
@@ -10,8 +10,8 @@ interface IntervalFilterProps {
export function IntervalFilter({ disabled }: IntervalFilterProps): JSX.Element {
const { insightProps } = useValues(insightLogic)
- const { interval, enabledIntervals } = useValues(intervalFilterLogic(insightProps))
- const { setInterval } = useActions(intervalFilterLogic(insightProps))
+ const { interval, enabledIntervals } = useValues(insightVizDataLogic(insightProps))
+ const { updateQuerySource } = useActions(insightVizDataLogic(insightProps))
return (
<>
@@ -21,12 +21,10 @@ export function IntervalFilter({ disabled }: IntervalFilterProps): JSX.Element {
{
- if (value) {
- setInterval(String(value) as IntervalType)
- }
+ updateQuerySource({ interval: value } as Partial)
}}
data-attr="interval-filter"
options={Object.entries(enabledIntervals).map(([value, { label, disabledReason }]) => ({
diff --git a/frontend/src/lib/components/IntervalFilter/intervalFilterLogic.ts b/frontend/src/lib/components/IntervalFilter/intervalFilterLogic.ts
index a2ee9404353d3..d2136d8d8a682 100644
--- a/frontend/src/lib/components/IntervalFilter/intervalFilterLogic.ts
+++ b/frontend/src/lib/components/IntervalFilter/intervalFilterLogic.ts
@@ -1,4 +1,4 @@
-import { kea } from 'kea'
+import { kea, props, key, path, connect, actions, reducers, listeners } from 'kea'
import { objectsEqual, dateMapping } from 'lib/utils'
import type { intervalFilterLogicType } from './intervalFilterLogicType'
import { IntervalKeyType, Intervals, intervals } from 'lib/components/IntervalFilter/intervals'
@@ -10,27 +10,27 @@ import { lemonToast } from 'lib/lemon-ui/lemonToast'
import { BASE_MATH_DEFINITIONS } from 'scenes/trends/mathsLogic'
import { insightVizDataLogic } from 'scenes/insights/insightVizDataLogic'
-export const intervalFilterLogic = kea({
- props: {} as InsightLogicProps,
- key: keyForInsightLogicProps('new'),
- path: (key) => ['lib', 'components', 'IntervalFilter', 'intervalFilterLogic', key],
- connect: (props: InsightLogicProps) => ({
+export const intervalFilterLogic = kea([
+ props({} as InsightLogicProps),
+ key(keyForInsightLogicProps('new')),
+ path((key) => ['lib', 'components', 'IntervalFilter', 'intervalFilterLogic', key]),
+ connect((props: InsightLogicProps) => ({
actions: [insightVizDataLogic(props), ['updateQuerySource']],
values: [insightVizDataLogic(props), ['interval', 'querySource']],
- }),
- actions: () => ({
+ })),
+ actions(() => ({
setInterval: (interval: IntervalKeyType) => ({ interval }),
setEnabledIntervals: (enabledIntervals: Intervals) => ({ enabledIntervals }),
- }),
- reducers: () => ({
+ })),
+ reducers(() => ({
enabledIntervals: [
{ ...intervals } as Intervals,
{
setEnabledIntervals: (_, { enabledIntervals }) => enabledIntervals,
},
],
- }),
- listeners: ({ values, actions, selectors }) => ({
+ })),
+ listeners(({ values, actions, selectors }) => ({
setInterval: ({ interval }) => {
if (values.interval !== interval) {
actions.updateQuerySource({ interval } as Partial)
@@ -140,5 +140,5 @@ export const intervalFilterLogic = kea({
}
actions.updateQuerySource({ interval } as Partial)
},
- }),
-})
+ })),
+])
diff --git a/frontend/src/lib/components/JSBookmarklet.tsx b/frontend/src/lib/components/JSBookmarklet.tsx
index ccc3bb9148477..6202320a403f8 100644
--- a/frontend/src/lib/components/JSBookmarklet.tsx
+++ b/frontend/src/lib/components/JSBookmarklet.tsx
@@ -13,6 +13,7 @@ export function JSBookmarklet({ team }: { team: TeamBasicType }): JSX.Element {
return (
<>
+ {/* eslint-disable-next-line react/forbid-elements */}
= {
+ title: 'Components/Map',
+ component: Map,
+ tags: ['autodocs'],
+ // :TRICKY: We can't use markers in Storybook stories, as the Marker class is
+ // not JSON-serializable (circular structure).
+ args: {
+ center: coordinates,
+ className: 'h-60',
+ },
+}
+type Story = StoryObj
+
+export const Basic: Story = {}
+
+export default meta
diff --git a/frontend/src/lib/components/Map/Map.tsx b/frontend/src/lib/components/Map/Map.tsx
new file mode 100644
index 0000000000000..a7365d53f2773
--- /dev/null
+++ b/frontend/src/lib/components/Map/Map.tsx
@@ -0,0 +1,90 @@
+import { useEffect, useRef } from 'react'
+import { useValues } from 'kea'
+import maplibregl, { Map as RawMap, Marker } from 'maplibre-gl'
+import { Protocol } from 'pmtiles'
+import layers from 'protomaps-themes-base'
+import useResizeObserver from 'use-resize-observer'
+
+import 'maplibre-gl/dist/maplibre-gl.css'
+import './Maplibre.scss'
+
+import { themeLogic } from '~/layout/navigation-3000/themeLogic'
+import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
+
+const protocol = new Protocol()
+maplibregl.addProtocol('pmtiles', protocol.tile)
+
+const BASE_URL = 'https://posthog-prod-maps.s3.us-east-1.amazonaws.com'
+// :TRICKY: The URL absolutely needs to be prefixed with `pmtiles://` to work!
+const PMTILES_URL = `pmtiles://${BASE_URL}/20230913.pmtiles`
+const GLYPH_URL = `${BASE_URL}/fonts/pbf/{fontstack}/{range}.pbf`
+
+/** Latitude and longtitude in degrees (+lat is east, -lat is west, +lon is south, -lon is north). */
+export interface MapProps {
+ /** Coordinates to center the map on by default. */
+ center: [number, number]
+ /** Markers to show. */
+ markers?: Marker[]
+ /** Map container class names. */
+ className?: string
+}
+
+export function Map({ className, ...rest }: MapProps): JSX.Element {
+ const { isCloudOrDev } = useValues(preflightLogic)
+
+ if (!isCloudOrDev) {
+ return (
+
+
Map unavailable
+
The map is currently only available in cloud deployments.
+
+ )
+ }
+
+ return
+}
+
+export function MapComponent({ center, markers, className }: MapProps): JSX.Element {
+ const mapContainer = useRef(null)
+ const map = useRef(null)
+
+ const { isDarkModeOn } = useValues(themeLogic)
+
+ useEffect(() => {
+ map.current = new RawMap({
+ container: mapContainer.current as HTMLElement,
+ style: {
+ version: 8,
+ glyphs: GLYPH_URL,
+ sources: {
+ protomaps: {
+ type: 'vector',
+ url: PMTILES_URL,
+ attribution:
+ 'Protomaps © OpenStreetMap',
+ },
+ },
+ layers: layers('protomaps', isDarkModeOn ? 'dark' : 'light'),
+ },
+ center,
+ zoom: 4,
+ maxZoom: 10,
+ })
+ if (markers) {
+ for (const marker of markers) {
+ marker.addTo(map.current)
+ }
+ }
+ }, [isDarkModeOn])
+
+ useResizeObserver({
+ ref: mapContainer,
+ onResize: () => {
+ if (map.current) {
+ map.current.resize()
+ }
+ },
+ })
+
+ return
+}
diff --git a/frontend/src/lib/components/Map/Maplibre.scss b/frontend/src/lib/components/Map/Maplibre.scss
new file mode 100644
index 0000000000000..27a9336e839ca
--- /dev/null
+++ b/frontend/src/lib/components/Map/Maplibre.scss
@@ -0,0 +1,29 @@
+.maplibregl-ctrl-attrib-button:focus,
+.maplibregl-ctrl-group button:focus {
+ box-shadow: 0 0 2px 2px var(--primary);
+}
+
+@media screen {
+ .maplibregl-ctrl-attrib.maplibregl-compact {
+ background-color: var(--bg-light);
+ color: var(--muted-3000);
+ }
+
+ .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button {
+ background-color: var(--bg-3000);
+ [theme='dark'] & {
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");
+ }
+ }
+
+ .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button {
+ background-color: var(--bg-3000);
+ [theme='dark'] & {
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");
+ }
+ }
+
+ .maplibregl-ctrl-attrib a {
+ color: var(--text-3000);
+ }
+}
diff --git a/frontend/src/lib/components/NotFound/NotFound.scss b/frontend/src/lib/components/NotFound/NotFound.scss
index 0b5494fce1ba8..d9a3d97ced82f 100644
--- a/frontend/src/lib/components/NotFound/NotFound.scss
+++ b/frontend/src/lib/components/NotFound/NotFound.scss
@@ -9,4 +9,16 @@
height: 270px;
width: 100%;
}
+
+ .NotebookNode & {
+ background-color: var(--danger-highlight);
+ margin: 0;
+ max-width: 100%;
+ padding: 2rem;
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ }
}
diff --git a/frontend/src/lib/components/NotFound/NotFound.stories.tsx b/frontend/src/lib/components/NotFound/NotFound.stories.tsx
index 9c903b6e3d2d1..948b590749404 100644
--- a/frontend/src/lib/components/NotFound/NotFound.stories.tsx
+++ b/frontend/src/lib/components/NotFound/NotFound.stories.tsx
@@ -1,15 +1,17 @@
-import { ComponentStory, ComponentMeta } from '@storybook/react'
+import { StoryFn, Meta, StoryObj } from '@storybook/react'
import { NotFound } from './index'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Components/Not Found',
component: NotFound,
-} as ComponentMeta
+}
+export default meta
-const Template: ComponentStory = (args) =>
+const Template: StoryFn = (args) =>
-export const NotFound_ = Template.bind({})
+export const NotFound_: Story = Template.bind({})
NotFound_.args = {
object: 'Person',
}
diff --git a/frontend/src/lib/components/NotFound/index.tsx b/frontend/src/lib/components/NotFound/index.tsx
index 5156adc4812fe..1c1a20c595925 100644
--- a/frontend/src/lib/components/NotFound/index.tsx
+++ b/frontend/src/lib/components/NotFound/index.tsx
@@ -4,6 +4,8 @@ import './NotFound.scss'
import { useActions, useValues } from 'kea'
import { supportLogic } from '../Support/supportLogic'
import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
+import { useNotebookNode } from 'scenes/notebooks/Nodes/notebookNodeLogic'
+import { LemonButton } from '@posthog/lemon-ui'
interface NotFoundProps {
object: string // Type of object that was not found (e.g. `dashboard`, `insight`, `action`, ...)
@@ -14,13 +16,18 @@ export function NotFound({ object, caption }: NotFoundProps): JSX.Element {
const { preflight } = useValues(preflightLogic)
const { openSupportForm } = useActions(supportLogic)
+ const nodeLogic = useNotebookNode()
+
return (
-
+ {!nodeLogic ?
: null}
{capitalizeFirstLetter(object)} not found
-
- It seems this page may have been lost in space.
-
+ {!nodeLogic ? (
+
+ It seems this {object} may have been lost in space.
+
+ ) : null}
+
{caption || (
<>
@@ -36,6 +43,13 @@ export function NotFound({ object, caption }: NotFoundProps): JSX.Element {
>
)}
+
+ {nodeLogic && (
+ nodeLogic.actions.deleteNode()}>
+ Remove from Notebook
+
+ )}
+
)
}
diff --git a/frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx b/frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx
index f15ccedf16272..d8df145c5094e 100644
--- a/frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx
+++ b/frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx
@@ -1,17 +1,20 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react'
+import { StoryFn, Meta, StoryObj } from '@storybook/react'
import { ObjectTags, ObjectTagsProps } from './ObjectTags'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Lemon UI/Object Tags',
component: ObjectTags,
-} as ComponentMeta
+ tags: ['autodocs'],
+}
+export default meta
-const BasicTemplate: ComponentStory = (props: Partial) => {
+const BasicTemplate: StoryFn = (props: Partial) => {
return
}
-export const Default = BasicTemplate.bind({})
+export const Default: Story = BasicTemplate.bind({})
Default.args = {}
-export const StaticOnly = BasicTemplate.bind({})
+export const StaticOnly: Story = BasicTemplate.bind({})
StaticOnly.args = { staticOnly: true }
diff --git a/frontend/src/lib/components/PageHeader.tsx b/frontend/src/lib/components/PageHeader.tsx
index c2978b716e9d0..ac309adc8d1e5 100644
--- a/frontend/src/lib/components/PageHeader.tsx
+++ b/frontend/src/lib/components/PageHeader.tsx
@@ -1,4 +1,3 @@
-import { Row } from 'antd'
import clsx from 'clsx'
import { LemonDivider } from 'lib/lemon-ui/LemonDivider'
import { DraggableToNotebook, DraggableToNotebookProps } from 'scenes/notebooks/AddToNotebook/DraggableToNotebook'
@@ -26,6 +25,7 @@ export function PageHeader({
}: PageHeaderProps): JSX.Element {
return (
<>
+ {/* eslint-disable-next-line react/forbid-dom-props */}
{notebookProps ? (
@@ -53,9 +53,9 @@ interface SubtitleProps {
export function Subtitle({ subtitle, buttons }: SubtitleProps): JSX.Element {
return (
-
+
{subtitle}
{buttons}
-
+
)
}
diff --git a/frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx b/frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx
index a7c73f3da6650..02ab50eb82b24 100644
--- a/frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx
+++ b/frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx
@@ -1,15 +1,17 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react'
+import { Meta, StoryFn, StoryObj } from '@storybook/react'
import { useState } from 'react'
import { PathCleaningFilter } from '~/types'
import { PathCleanFilters, PathCleanFiltersProps } from './PathCleanFilters'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Filters/PathCleanFilters',
component: PathCleanFilters,
-} as ComponentMeta
+}
+export default meta
-const Template: ComponentStory = (props: Partial) => {
+const Template: StoryFn = (props: Partial) => {
const [filters, setFilters] = useState([
{ alias: 'insights', regex: '/insights/w+/dashboard$' },
{ regex: '/feature_flags/d+$' },
@@ -18,5 +20,5 @@ const Template: ComponentStory = (props: Partial
}
-export const Default = Template.bind({})
+export const Default: Story = Template.bind({})
Default.args = {}
diff --git a/frontend/src/lib/components/PayGateMini/PayGateMini.tsx b/frontend/src/lib/components/PayGateMini/PayGateMini.tsx
index f1ba0bdf475dd..46e5f491da484 100644
--- a/frontend/src/lib/components/PayGateMini/PayGateMini.tsx
+++ b/frontend/src/lib/components/PayGateMini/PayGateMini.tsx
@@ -6,8 +6,8 @@ import { IconEmojiPeople, IconLightBulb, IconLock, IconPremium } from 'lib/lemon
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import './PayGateMini.scss'
import { FEATURE_MINIMUM_PLAN, POSTHOG_CLOUD_STANDARD_PLAN } from 'lib/constants'
-import { capitalizeFirstLetter } from 'lib/utils'
import clsx from 'clsx'
+import { Link } from '@posthog/lemon-ui'
type PayGateSupportedFeatures =
| AvailableFeature.DASHBOARD_PERMISSIONING
@@ -16,6 +16,8 @@ type PayGateSupportedFeatures =
| AvailableFeature.ROLE_BASED_ACCESS
| AvailableFeature.CORRELATION_ANALYSIS
| AvailableFeature.PATHS_ADVANCED
+ | AvailableFeature.SURVEYS_STYLING
+ | AvailableFeature.SURVEYS_TEXT_HTML
export interface PayGateMiniProps {
feature: PayGateSupportedFeatures
@@ -69,6 +71,16 @@ const FEATURE_SUMMARIES: Record<
umbrella: 'advanced analysis capabilities',
docsHref: 'https://posthog.com/manual/paths',
},
+ [AvailableFeature.SURVEYS_STYLING]: {
+ description: 'Customize the look and feel of your surveys with custom colors and positions.',
+ umbrella: 'surveys customization',
+ docsHref: 'https://posthog.com/docs/surveys',
+ },
+ [AvailableFeature.SURVEYS_TEXT_HTML]: {
+ description: 'Use HTML to customize the content of your surveys.',
+ umbrella: 'surveys customization',
+ docsHref: 'https://posthog.com/docs/surveys',
+ },
}
/** A sort of paywall for premium features.
@@ -87,7 +99,7 @@ export function PayGateMini({
const featureSummary = FEATURE_SUMMARIES[feature]
const planRequired = FEATURE_MINIMUM_PLAN[feature]
- let gateVariant: 'add-card' | 'contact-sales' | 'check-licensing' | null = null
+ let gateVariant: 'add-card' | 'contact-sales' | 'subscribe' | null = null
if (!overrideShouldShowGate && !hasAvailableFeature(feature)) {
if (preflight?.cloud) {
if (planRequired === POSTHOG_CLOUD_STANDARD_PLAN) {
@@ -96,7 +108,7 @@ export function PayGateMini({
gateVariant = 'contact-sales'
}
} else {
- gateVariant = 'check-licensing'
+ gateVariant = 'subscribe'
}
}
@@ -109,14 +121,13 @@ export function PayGateMini({
{featureSummary.icon || }
{featureSummary.description}
- Upgrade to {gateVariant === 'add-card' ? 'a premium' : `the ${capitalizeFirstLetter(planRequired)}`}{' '}
- plan to gain {featureSummary.umbrella}.
+ Subscribe to gain {featureSummary.umbrella}.
{featureSummary.docsHref && (
<>
{' '}
-
- Learn more in PostHog Docs.
-
+
+ Learn more in PostHog Docs.
+
>
)}
@@ -126,8 +137,8 @@ export function PayGateMini({
? '/organization/billing'
: gateVariant === 'contact-sales'
? `mailto:sales@posthog.com?subject=Inquiring about ${featureSummary.umbrella}`
- : gateVariant === 'check-licensing'
- ? 'https://posthog.com/pricing'
+ : gateVariant === 'subscribe'
+ ? '/organization/billing'
: undefined
}
type="secondary"
@@ -135,10 +146,10 @@ export function PayGateMini({
center
>
{gateVariant === 'add-card'
- ? 'Upgrade now'
+ ? 'Subscribe now'
: gateVariant === 'contact-sales'
? 'Contact sales'
- : 'Explore license options'}
+ : 'Subscribe'}
) : (
diff --git a/frontend/src/lib/components/PersonPropertySelect/PersonPropertySelect.stories.tsx b/frontend/src/lib/components/PersonPropertySelect/PersonPropertySelect.stories.tsx
index 7b738796f0be4..c65b8df3f901c 100644
--- a/frontend/src/lib/components/PersonPropertySelect/PersonPropertySelect.stories.tsx
+++ b/frontend/src/lib/components/PersonPropertySelect/PersonPropertySelect.stories.tsx
@@ -1,9 +1,10 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react'
+import { Meta, StoryFn, StoryObj } from '@storybook/react'
import { useState } from 'react'
import { mswDecorator } from '~/mocks/browser'
import { PersonPropertySelect, PersonPropertySelectProps } from './PersonPropertySelect'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Filters/Person Property Select',
component: PersonPropertySelect,
decorators: [
@@ -25,9 +26,10 @@ export default {
},
}),
],
-} as ComponentMeta
+}
+export default meta
-const Template: ComponentStory = (props: Partial) => {
+const Template: StoryFn = (props: Partial) => {
const [selectedProperties, setSelectProperties] = useState([
'$initial_geoip_postal_code',
'$initial_geoip_latitude',
@@ -59,10 +61,10 @@ const Template: ComponentStory = (props: Partial void
@@ -15,25 +19,33 @@ export interface PersonPropertySelectProps {
sortable?: boolean
}
-const PropertyTag = ({
+const SortableProperty = ({
name,
onRemove,
- sortable = false,
+ sortable,
}: {
name: string
onRemove: (val: string) => void
sortable?: boolean
-}): JSX.Element => (
-
- onRemove(name)}>{name}
-
-)
+}): JSX.Element => {
+ const { setNodeRef, attributes, transform, transition, listeners } = useSortable({ id: name })
-const SortableProperty = SortableElement(PropertyTag)
-
-const SortablePropertyList = SortableContainer(({ children }: { children: React.ReactNode }) => {
- return {children}
-})
+ return (
+
+ onRemove(name)}>{name}
+
+ )
+}
export const PersonPropertySelect = ({
onChange,
@@ -42,6 +54,7 @@ export const PersonPropertySelect = ({
sortable = false,
}: PersonPropertySelectProps): JSX.Element => {
const [open, setOpen] = useState(false)
+ const sensors = useSensors(useSensor(PointerSensor, { activationConstraint: { distance: 1 } }))
const handleChange = (name: string): void => {
onChange(Array.from(new Set(selectedProperties.concat([name]))))
@@ -60,23 +73,39 @@ export const PersonPropertySelect = ({
return (
- {sortable ? (
-
- {selectedProperties.map((value, index) => (
-
- ))}
-
- ) : (
- selectedProperties?.map((value) => (
-
- ))
+ {selectedProperties.length > 0 && (
+
{
+ if (over && active.id !== over.id) {
+ handleSort({
+ oldIndex: selectedProperties.indexOf(active.id.toString()),
+ newIndex: selectedProperties.indexOf(over.id.toString()),
+ })
+ }
+ }}
+ sensors={sensors}
+ collisionDetection={closestCenter}
+ modifiers={[restrictToHorizontalAxis, restrictToParentElement]}
+ >
+
+
+ {selectedProperties.map((value) => (
+
+ ))}
+
+
+
)}
+
setOpen(false)}
diff --git a/frontend/src/lib/components/PersonalAPIKeys/PersonalAPIKeys.tsx b/frontend/src/lib/components/PersonalAPIKeys/PersonalAPIKeys.tsx
index d9cfbdcebd5e1..1df2bf9437018 100644
--- a/frontend/src/lib/components/PersonalAPIKeys/PersonalAPIKeys.tsx
+++ b/frontend/src/lib/components/PersonalAPIKeys/PersonalAPIKeys.tsx
@@ -8,7 +8,7 @@ import { humanFriendlyDetailedTime } from 'lib/utils'
import { CopyToClipboardInline } from '../CopyToClipboard'
import { ColumnsType } from 'antd/lib/table'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
-import { LemonInput, LemonModal } from '@posthog/lemon-ui'
+import { LemonInput, LemonModal, Link } from '@posthog/lemon-ui'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { IconPlus } from 'lib/lemon-ui/icons'
@@ -94,7 +94,7 @@ function RowActionsCreator(
deleteKey(personalAPIKey)
}}
>
- Delete
+ Danger
)
}
@@ -156,14 +156,14 @@ export function PersonalAPIKeys(): JSX.Element {
These keys allow full access to your personal account through the API, as if you were logged in. You can
also use them in integrations, such as{' '}
- our premium Zapier one.
+ our premium Zapier one.
Try not to keep disused keys around. If you have any suspicion that one of these may be compromised,
delete it and use a new one.
-
+
More about API authentication in PostHog Docs.
-
+
({
- path: ['lib', 'components', 'PersonalAPIKeys', 'personalAPIKeysLogic'],
- loaders: ({ values }) => ({
+export const personalAPIKeysLogic = kea([
+ path(['lib', 'components', 'PersonalAPIKeys', 'personalAPIKeysLogic']),
+ loaders(({ values }) => ({
keys: [
[] as PersonalAPIKeyType[],
{
@@ -27,17 +28,16 @@ export const personalAPIKeysLogic = kea({
},
},
],
- }),
- listeners: () => ({
+ })),
+ listeners(() => ({
createKeySuccess: async ({ keys }: { keys: PersonalAPIKeyType[] }) => {
keys[0]?.value && (await copyToClipboard(keys[0].value, 'personal API key value'))
},
- deleteKeySuccess: ({}: { keys: PersonalAPIKeyType[] }) => {
+ deleteKeySuccess: () => {
lemonToast.success(`Personal API key deleted`)
},
- }),
-
- events: ({ actions }) => ({
+ })),
+ events(({ actions }) => ({
afterMount: [actions.loadKeys],
- }),
-})
+ })),
+])
diff --git a/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx b/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx
index 681f20dd55635..5c8e18d6c063f 100644
--- a/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx
+++ b/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx
@@ -1,11 +1,12 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { ProductIntroduction } from './ProductIntroduction'
import { ProductKey } from '~/types'
-export default {
+const meta: Meta = {
title: 'Components/Product Empty State',
component: ProductIntroduction,
-} as ComponentMeta
+}
+export default meta
export function ProductIntroduction_(): JSX.Element {
return (
diff --git a/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.tsx b/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.tsx
index f01bceddc525f..125c31d54eb0d 100644
--- a/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.tsx
+++ b/frontend/src/lib/components/ProductIntroduction/ProductIntroduction.tsx
@@ -77,8 +77,8 @@ export const ProductIntroduction = ({
{description}
{!isEmpty && (
- Your team has already started using {productName}. You can jump in to see what your team has
- made, or create a new one yourself.
+ Your team is already using {productName}. You can take a look at what they're doing, or get
+ started yourself.
)}
@@ -100,7 +100,7 @@ export const ProductIntroduction = ({
{docsURL && (
}
to={`${docsURL}?utm_medium=in-product&utm_campaign=empty-state-docs-link`}
data-attr="product-introduction-docs-link"
diff --git a/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx b/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx
index da07df85f3d74..de6e1d022896f 100644
--- a/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx
+++ b/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx
@@ -4,7 +4,7 @@ import { KEY_MAPPING, keyMappingKeys } from 'lib/taxonomy'
import { PropertyKeyInfo } from '../PropertyKeyInfo'
import { Dropdown, Input, Menu, Popconfirm } from 'antd'
import { isURL } from 'lib/utils'
-import { IconDeleteForever, IconOpenInNew } from 'lib/lemon-ui/icons'
+import { IconDeleteForever } from 'lib/lemon-ui/icons'
import './PropertiesTable.scss'
import { LemonTable, LemonTableColumns, LemonTableProps } from 'lib/lemon-ui/LemonTable'
import { CopyToClipboardInline } from '../CopyToClipboard'
@@ -12,7 +12,7 @@ import { useValues } from 'kea'
import { propertyDefinitionsModel } from '~/models/propertyDefinitionsModel'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { NewPropertyComponent } from 'scenes/persons/NewPropertyComponent'
-import { LemonCheckbox, LemonInput } from '@posthog/lemon-ui'
+import { LemonCheckbox, LemonInput, Link } from '@posthog/lemon-ui'
import clsx from 'clsx'
import { PropertyDefinitionType } from '~/types'
@@ -93,10 +93,9 @@ function ValueDisplay({
{!isURL(value) ? (
valueString
) : (
-
- {valueString}
-
-
+
+ {valueString}
+
)}
)
diff --git a/frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx b/frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx
index 1c6116fe298c8..330e7b5597229 100644
--- a/frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx
+++ b/frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx
@@ -1,14 +1,15 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { MOCK_TEAM_ID } from 'lib/api.mock'
import { useStorybookMocks } from '~/mocks/browser'
import { ChartDisplayType, PersonActorType } from '~/types'
import { PropertiesTimeline } from '.'
import { RawPropertiesTimelineResult } from './propertiesTimelineLogic'
-export default {
+const meta: Meta
= {
title: 'Components/Properties Timeline',
component: PropertiesTimeline,
-} as ComponentMeta
+}
+export default meta
const EXAMPLE_PERSON: Omit = {
type: 'person',
diff --git a/frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx b/frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx
index ab13e3a5441a6..484b294b29b47 100644
--- a/frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx
+++ b/frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx
@@ -1,12 +1,13 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { PropertyFilters } from 'lib/components/PropertyFilters/PropertyFilters'
import { AnyPropertyFilter, PropertyOperator } from '~/types'
import PropertyFiltersDisplay from 'lib/components/PropertyFilters/components/PropertyFiltersDisplay'
-export default {
+const meta: Meta = {
title: 'Filters/PropertyFilters',
component: PropertyFilters,
-} as ComponentMeta
+}
+export default meta
const propertyFilters = [
{
@@ -37,7 +38,6 @@ export function ComparingPropertyFilters(): JSX.Element {
propertyFilters={[...propertyFilters]}
onChange={() => {}}
pageKey={'pageKey'}
- style={{ marginBottom: 0 }}
showNestedArrow
eventNames={[]}
/>
@@ -47,7 +47,6 @@ export function ComparingPropertyFilters(): JSX.Element {
propertyFilters={[...propertyFilters]}
onChange={() => {}}
pageKey={'pageKey'}
- style={{ marginBottom: 0 }}
eventNames={[]}
disablePopover={true}
/>
diff --git a/frontend/src/lib/components/PropertyFilters/PropertyFilters.tsx b/frontend/src/lib/components/PropertyFilters/PropertyFilters.tsx
index c9f8dc06f1f28..dc9506368a0cd 100644
--- a/frontend/src/lib/components/PropertyFilters/PropertyFilters.tsx
+++ b/frontend/src/lib/components/PropertyFilters/PropertyFilters.tsx
@@ -1,4 +1,4 @@
-import React, { CSSProperties, useEffect } from 'react'
+import React, { useEffect } from 'react'
import { useValues, BindLogic, useActions } from 'kea'
import { propertyFilterLogic } from './propertyFilterLogic'
import { FilterRow } from './components/FilterRow'
@@ -15,8 +15,8 @@ interface PropertyFiltersProps {
pageKey: string
showConditionBadge?: boolean
disablePopover?: boolean
- style?: CSSProperties
taxonomicGroupTypes?: TaxonomicFilterGroupType[]
+ hogQLTable?: string
showNestedArrow?: boolean
eventNames?: string[]
logicalRowDivider?: boolean
@@ -27,6 +27,7 @@ interface PropertyFiltersProps {
sendAllKeyUpdates?: boolean
allowNew?: boolean
errorMessages?: JSX.Element[] | null
+ propertyAllowList?: { [key in TaxonomicFilterGroupType]?: string[] }
}
export function PropertyFilters({
@@ -36,7 +37,7 @@ export function PropertyFilters({
showConditionBadge = false,
disablePopover = false, // use bare PropertyFilter without popover
taxonomicGroupTypes,
- style = {},
+ hogQLTable,
showNestedArrow = false,
eventNames = [],
orFiltering = false,
@@ -47,6 +48,7 @@ export function PropertyFilters({
sendAllKeyUpdates = false,
allowNew = true,
errorMessages = null,
+ propertyAllowList,
}: PropertyFiltersProps): JSX.Element {
const logicProps = { propertyFilters, onChange, pageKey, sendAllKeyUpdates }
const { filters, filtersWithNew } = useValues(propertyFilterLogic(logicProps))
@@ -58,7 +60,7 @@ export function PropertyFilters({
}, [propertyFilters])
return (
-
+
{showNestedArrow && !disablePopover &&
{<>↳>}
}
@@ -88,6 +90,7 @@ export function PropertyFilters({
onComplete={onComplete}
orFiltering={orFiltering}
taxonomicGroupTypes={taxonomicGroupTypes}
+ hogQLTable={hogQLTable}
eventNames={eventNames}
propertyGroupType={propertyGroupType}
disablePopover={disablePopover || orFiltering}
@@ -97,6 +100,7 @@ export function PropertyFilters({
delayBeforeAutoOpen: 150,
placement: pageKey === 'insight-filters' ? 'bottomLeft' : undefined,
}}
+ propertyAllowList={propertyAllowList}
/>
)}
errorMessage={errorMessages && errorMessages[index]}
diff --git a/frontend/src/lib/components/PropertyFilters/components/FilterRow.tsx b/frontend/src/lib/components/PropertyFilters/components/FilterRow.tsx
index 90a320b460ad2..60f8211960c3f 100644
--- a/frontend/src/lib/components/PropertyFilters/components/FilterRow.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/FilterRow.tsx
@@ -1,6 +1,5 @@
import React, { useState } from 'react'
import { AnyPropertyFilter, PathCleaningFilter } from '~/types'
-import { Row } from 'antd'
import { PropertyFilterButton } from './PropertyFilterButton'
import { isValidPropertyFilter } from 'lib/components/PropertyFilters/utils'
import { Popover } from 'lib/lemon-ui/Popover/Popover'
@@ -51,11 +50,9 @@ export const FilterRow = React.memo(function FilterRow({
return (
<>
-
{disablePopover ? (
<>
@@ -102,7 +99,7 @@ export const FilterRow = React.memo(function FilterRow({
{key && showConditionBadge && index + 1 < totalCount && (
AND
)}
-
+
{errorMessage}
>
)
diff --git a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx
index c07b7b874821c..f3b0ef68557e7 100644
--- a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx
@@ -1,14 +1,15 @@
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import {
OperatorValueSelect,
OperatorValueSelectProps,
} from 'lib/components/PropertyFilters/components/OperatorValueSelect'
import { PropertyDefinition, PropertyType } from '~/types'
-export default {
+const meta: Meta
= {
title: 'Filters/PropertyFilters/OperatorValueSelect',
- Component: OperatorValueSelect,
-} as ComponentMeta
+ component: OperatorValueSelect,
+}
+export default meta
const makePropertyDefinition = (name: string, propertyType: PropertyType | undefined): PropertyDefinition => ({
id: name,
diff --git a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
index 838569a81c8ab..817677a1f7f8a 100644
--- a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
@@ -126,7 +126,7 @@ export function OperatorValueSelect({
/>
{!isOperatorFlag(currentOperator || PropertyOperator.Exact) && type && propkey && (
-
+
= ({ filters, style }: Props) => {
+const PropertyFiltersDisplay = ({ filters }: { filters: AnyPropertyFilter[] }): JSX.Element => {
return (
-
+
{filters &&
filters.map((item) => {
return
diff --git a/frontend/src/lib/components/PropertyFilters/components/PropertySelect.tsx b/frontend/src/lib/components/PropertyFilters/components/PropertySelect.tsx
index 0e55a88e75fd5..3cc2e1b93a9e0 100644
--- a/frontend/src/lib/components/PropertyFilters/components/PropertySelect.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/PropertySelect.tsx
@@ -79,7 +79,7 @@ export function PropertySelect({
return true // set to avoid ant.d doing its own filtering
}}
onChange={(_: null, selection) => {
- const { value: val, type } = selection as SelectionOptionType
+ const { value: val, type } = selection as unknown as SelectionOptionType
onChange(type, val.replace(/^(event_|person_|element_)/gi, ''))
}}
style={{ width: '100%' }}
diff --git a/frontend/src/lib/components/PropertyFilters/components/PropertyValue.tsx b/frontend/src/lib/components/PropertyFilters/components/PropertyValue.tsx
index eed63c5ca7258..3d07a4bed1261 100644
--- a/frontend/src/lib/components/PropertyFilters/components/PropertyValue.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/PropertyValue.tsx
@@ -109,9 +109,9 @@ export function PropertyValue({
const commonInputProps = {
onSearch: (newInput: string) => {
- setInput(newInput)
+ setInput(newInput.trim())
if (!Object.keys(options).includes(newInput) && !(operator && isOperatorFlag(operator))) {
- load(newInput)
+ load(newInput.trim())
}
},
['data-attr']: 'prop-val',
@@ -212,12 +212,6 @@ export function PropertyValue({
setInput(option.title)
setValue(toString(val))
}}
- onKeyDown={(e) => {
- if (e.key === 'Enter') {
- setInput(toString(input))
- setValue(toString(input))
- }
- }}
ref={autoCompleteRef}
>
{[
diff --git a/frontend/src/lib/components/PropertyFilters/components/TaxonomicPropertyFilter.tsx b/frontend/src/lib/components/PropertyFilters/components/TaxonomicPropertyFilter.tsx
index 4b98b58d2fdce..e99bcf464c9e2 100644
--- a/frontend/src/lib/components/PropertyFilters/components/TaxonomicPropertyFilter.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/TaxonomicPropertyFilter.tsx
@@ -38,6 +38,8 @@ export function TaxonomicPropertyFilter({
orFiltering,
addText = 'Add filter',
hasRowOperator,
+ hogQLTable,
+ propertyAllowList,
}: PropertyFilterInternalProps): JSX.Element {
const pageKey = useMemo(() => pageKeyInput || `filter-${uniqueMemoizedIndex++}`, [pageKeyInput])
const groupTypes = taxonomicGroupTypes || [
@@ -70,6 +72,7 @@ export function TaxonomicPropertyFilter({
taxonomicGroupTypes: groupTypes,
taxonomicOnChange,
eventNames,
+ propertyAllowList,
})
const { filter, dropdownOpen, selectedCohortName, activeTaxonomicGroup } = useValues(logic)
const { openDropdown, closeDropdown, selectItem } = useActions(logic)
@@ -94,14 +97,13 @@ export function TaxonomicPropertyFilter({
const taxonomicFilter = (
)
diff --git a/frontend/src/lib/components/PropertyFilters/components/taxonomicPropertyFilterLogic.ts b/frontend/src/lib/components/PropertyFilters/components/taxonomicPropertyFilterLogic.ts
index 07e70584e411e..6361dfb89489c 100644
--- a/frontend/src/lib/components/PropertyFilters/components/taxonomicPropertyFilterLogic.ts
+++ b/frontend/src/lib/components/PropertyFilters/components/taxonomicPropertyFilterLogic.ts
@@ -1,4 +1,4 @@
-import { kea } from 'kea'
+import { kea, props, key, path, connect, actions, reducers, selectors, listeners } from 'kea'
import { TaxonomicPropertyFilterLogicProps } from 'lib/components/PropertyFilters/types'
import {
AnyPropertyFilter,
@@ -11,7 +11,11 @@ import {
} from '~/types'
import type { taxonomicPropertyFilterLogicType } from './taxonomicPropertyFilterLogicType'
import { cohortsModel } from '~/models/cohortsModel'
-import { TaxonomicFilterGroup, TaxonomicFilterValue } from 'lib/components/TaxonomicFilter/types'
+import {
+ TaxonomicFilterGroup,
+ TaxonomicFilterLogicProps,
+ TaxonomicFilterValue,
+} from 'lib/components/TaxonomicFilter/types'
import {
isGroupPropertyFilter,
isPropertyFilterWithOperator,
@@ -23,12 +27,11 @@ import {
import { taxonomicFilterLogic } from 'lib/components/TaxonomicFilter/taxonomicFilterLogic'
import { propertyDefinitionsModel } from '~/models/propertyDefinitionsModel'
-export const taxonomicPropertyFilterLogic = kea
({
- path: (key) => ['lib', 'components', 'PropertyFilters', 'components', 'taxonomicPropertyFilterLogic', key],
- props: {} as TaxonomicPropertyFilterLogicProps,
- key: (props) => `${props.pageKey}-${props.filterIndex}`,
-
- connect: (props: TaxonomicPropertyFilterLogicProps) => ({
+export const taxonomicPropertyFilterLogic = kea([
+ props({} as TaxonomicPropertyFilterLogicProps),
+ key((props) => `${props.pageKey}-${props.filterIndex}`),
+ path((key) => ['lib', 'components', 'PropertyFilters', 'components', 'taxonomicPropertyFilterLogic', key]),
+ connect((props: TaxonomicPropertyFilterLogicProps) => ({
values: [
props.propertyFilterLogic,
['filters'],
@@ -37,23 +40,22 @@ export const taxonomicPropertyFilterLogic = kea ({
taxonomicGroup,
propertyKey,
}),
openDropdown: true,
closeDropdown: true,
- },
-
- reducers: {
+ }),
+ reducers({
dropdownOpen: [
false,
{
@@ -61,11 +63,10 @@ export const taxonomicPropertyFilterLogic = kea false,
},
],
- },
-
- selectors: {
+ }),
+ selectors({
filter: [
- (s) => [s.filters, (_, props) => props.filterIndex],
+ (s, p) => [s.filters, p.filterIndex],
(filters, filterIndex): AnyPropertyFilter | null =>
filters[filterIndex] ? sanitizePropertyFilter(filters[filterIndex]) : null,
],
@@ -77,17 +78,13 @@ export const taxonomicPropertyFilterLogic = kea [s.filter, s.taxonomicGroups],
(filter, groups): TaxonomicFilterGroup | undefined => {
if (isGroupPropertyFilter(filter)) {
- const taxonomicGroupType = propertyFilterTypeToTaxonomicFilterType(
- filter.type,
- filter.group_type_index
- )
+ const taxonomicGroupType = propertyFilterTypeToTaxonomicFilterType(filter)
return groups.find((group) => group.type === taxonomicGroupType)
}
},
],
- },
-
- listeners: ({ actions, values, props }) => ({
+ }),
+ listeners(({ actions, values, props }) => ({
selectItem: ({ taxonomicGroup, propertyKey }) => {
const propertyType = taxonomicFilterTypeToPropertyFilterType(taxonomicGroup.type)
if (propertyKey && propertyType) {
@@ -137,5 +134,5 @@ export const taxonomicPropertyFilterLogic = kea void
filterIndex: number
eventNames?: string[]
+ propertyAllowList?: { [key in TaxonomicFilterGroupType]?: string[] }
}
export interface PropertyFilterInternalProps {
@@ -41,4 +42,6 @@ export interface PropertyFilterInternalProps {
orFiltering?: boolean
addText?: string | null
hasRowOperator?: boolean
+ hogQLTable?: string
+ propertyAllowList?: { [key in TaxonomicFilterGroupType]?: string[] }
}
diff --git a/frontend/src/lib/components/PropertyFilters/utils.test.ts b/frontend/src/lib/components/PropertyFilters/utils.test.ts
index 258d6e8b126b3..f8ecda127588b 100644
--- a/frontend/src/lib/components/PropertyFilters/utils.test.ts
+++ b/frontend/src/lib/components/PropertyFilters/utils.test.ts
@@ -1,5 +1,19 @@
-import { AnyPropertyFilter, CohortPropertyFilter, EmptyPropertyFilter, PropertyFilterType } from '../../../types'
-import { isValidPropertyFilter } from 'lib/components/PropertyFilters/utils'
+import {
+ AnyPropertyFilter,
+ CohortPropertyFilter,
+ ElementPropertyFilter,
+ EmptyPropertyFilter,
+ PropertyFilterType,
+ PropertyOperator,
+ SessionPropertyFilter,
+} from '../../../types'
+import {
+ isValidPropertyFilter,
+ propertyFilterTypeToTaxonomicFilterType,
+ breakdownFilterToTaxonomicFilterType,
+} from 'lib/components/PropertyFilters/utils'
+import { TaxonomicFilterGroupType } from '../TaxonomicFilter/types'
+import { BreakdownFilter } from '~/queries/schema'
describe('isValidPropertyFilter()', () => {
it('returns values correctly', () => {
@@ -18,3 +32,94 @@ describe('isValidPropertyFilter()', () => {
expect(isValidPropertyFilter({ key: 'cohort', value: 123 } as any)).toEqual(true)
})
})
+
+describe('propertyFilterTypeToTaxonomicFilterType()', () => {
+ const baseFilter: AnyPropertyFilter = {
+ type: PropertyFilterType.Event,
+ key: 'some_key',
+ value: 'some_value',
+ operator: PropertyOperator.Exact,
+ }
+
+ it('returns values correctly', () => {
+ expect(propertyFilterTypeToTaxonomicFilterType({} as EmptyPropertyFilter)).toEqual(undefined)
+ expect(
+ propertyFilterTypeToTaxonomicFilterType({ type: PropertyFilterType.Cohort, key: 'id', value: 33 })
+ ).toEqual(TaxonomicFilterGroupType.Cohorts)
+ expect(
+ propertyFilterTypeToTaxonomicFilterType({
+ ...baseFilter,
+ type: PropertyFilterType.Group,
+ group_type_index: 2,
+ })
+ ).toEqual('groups_2')
+ expect(
+ propertyFilterTypeToTaxonomicFilterType({
+ ...baseFilter,
+ type: PropertyFilterType.Event,
+ key: '$feature/abc',
+ })
+ ).toEqual(TaxonomicFilterGroupType.EventFeatureFlags)
+ expect(propertyFilterTypeToTaxonomicFilterType({ ...baseFilter, type: PropertyFilterType.Person })).toEqual(
+ TaxonomicFilterGroupType.PersonProperties
+ )
+ expect(propertyFilterTypeToTaxonomicFilterType({ ...baseFilter, type: PropertyFilterType.Event })).toEqual(
+ TaxonomicFilterGroupType.EventProperties
+ )
+ expect(
+ propertyFilterTypeToTaxonomicFilterType({
+ ...baseFilter,
+ type: PropertyFilterType.Element,
+ } as ElementPropertyFilter)
+ ).toEqual(TaxonomicFilterGroupType.Elements)
+ expect(
+ propertyFilterTypeToTaxonomicFilterType({
+ ...baseFilter,
+ type: PropertyFilterType.Session,
+ } as SessionPropertyFilter)
+ ).toEqual(TaxonomicFilterGroupType.Sessions)
+ expect(propertyFilterTypeToTaxonomicFilterType({ ...baseFilter, type: PropertyFilterType.HogQL })).toEqual(
+ TaxonomicFilterGroupType.HogQLExpression
+ )
+ })
+})
+
+describe('breakdownFilterToTaxonomicFilterType()', () => {
+ const baseFilter: BreakdownFilter = {
+ breakdown_type: 'event',
+ breakdown: '$browser',
+ }
+
+ it('returns values correctly', () => {
+ expect(breakdownFilterToTaxonomicFilterType({} as BreakdownFilter)).toEqual(undefined)
+ expect(breakdownFilterToTaxonomicFilterType({ breakdown_type: 'cohort', breakdown: 33 })).toEqual(
+ TaxonomicFilterGroupType.Cohorts
+ )
+ expect(
+ breakdownFilterToTaxonomicFilterType({
+ ...baseFilter,
+ breakdown_type: 'group',
+ breakdown_group_type_index: 2,
+ })
+ ).toEqual('groups_2')
+ expect(
+ breakdownFilterToTaxonomicFilterType({
+ ...baseFilter,
+ breakdown_type: 'event',
+ breakdown: '$feature/abc',
+ })
+ ).toEqual(TaxonomicFilterGroupType.EventFeatureFlags)
+ expect(breakdownFilterToTaxonomicFilterType({ ...baseFilter, breakdown_type: 'person' })).toEqual(
+ TaxonomicFilterGroupType.PersonProperties
+ )
+ expect(breakdownFilterToTaxonomicFilterType({ ...baseFilter, breakdown_type: 'event' })).toEqual(
+ TaxonomicFilterGroupType.EventProperties
+ )
+ expect(breakdownFilterToTaxonomicFilterType({ ...baseFilter, breakdown_type: 'session' })).toEqual(
+ TaxonomicFilterGroupType.Sessions
+ )
+ expect(breakdownFilterToTaxonomicFilterType({ ...baseFilter, breakdown_type: 'hogql' })).toEqual(
+ TaxonomicFilterGroupType.HogQLExpression
+ )
+ })
+})
diff --git a/frontend/src/lib/components/PropertyFilters/utils.ts b/frontend/src/lib/components/PropertyFilters/utils.ts
index 32e701df4350b..9f5b93fa7c313 100644
--- a/frontend/src/lib/components/PropertyFilters/utils.ts
+++ b/frontend/src/lib/components/PropertyFilters/utils.ts
@@ -20,6 +20,7 @@ import {
} from '~/types'
import { TaxonomicFilterGroupType } from 'lib/components/TaxonomicFilter/types'
import { flattenPropertyGroup, isPropertyGroup } from 'lib/utils'
+import { BreakdownFilter } from '~/queries/schema'
/** Make sure unverified user property filter input has at least a "type" */
export function sanitizePropertyFilter(propertyFilter: AnyPropertyFilter): AnyPropertyFilter {
@@ -153,19 +154,37 @@ const propertyFilterMapping: Partial {
+ if (!type) {
return undefined
}
- if (filterType === 'group') {
- return `${TaxonomicFilterGroupType.GroupsPrefix}_${groupTypeIndex}` as TaxonomicFilterGroupType
+ if (type === 'group') {
+ return `${TaxonomicFilterGroupType.GroupsPrefix}_${group_type_index}` as TaxonomicFilterGroupType
}
- return propertyFilterMapping[filterType]
+ if (type === 'event' && typeof value === 'string' && value?.startsWith('$feature/')) {
+ return TaxonomicFilterGroupType.EventFeatureFlags
+ }
+ return propertyFilterMapping[type]
}
+export const propertyFilterTypeToTaxonomicFilterType = (
+ filter: AnyPropertyFilter
+): TaxonomicFilterGroupType | undefined =>
+ filterToTaxonomicFilterType(filter.type, (filter as GroupPropertyFilter).group_type_index, filter.key)
+
+export const breakdownFilterToTaxonomicFilterType = (
+ breakdownFilter: BreakdownFilter
+): TaxonomicFilterGroupType | undefined =>
+ filterToTaxonomicFilterType(
+ breakdownFilter.breakdown_type,
+ breakdownFilter.breakdown_group_type_index,
+ breakdownFilter.breakdown
+ )
+
export function propertyFilterTypeToPropertyDefinitionType(
filterType?: PropertyFilterType | string | null
): PropertyDefinitionType {
diff --git a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.stories.tsx b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.stories.tsx
index a8ad8961ce7f7..b7013d3b5dfb7 100644
--- a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.stories.tsx
+++ b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.stories.tsx
@@ -1,15 +1,16 @@
import { useState } from 'react'
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { FilterLogicalOperator, FilterType, AnyPropertyFilter, PropertyGroupFilter, PropertyOperator } from '~/types'
import { useMountedLogic } from 'kea'
import { PropertyGroupFilters } from './PropertyGroupFilters'
import { TaxonomicFilterGroupType } from '../TaxonomicFilter/types'
import { cohortsModel } from '~/models/cohortsModel'
-export default {
+const meta: Meta = {
title: 'Filters/PropertyGroupFilters',
component: PropertyGroupFilters,
-} as ComponentMeta
+}
+export default meta
const propertyFilters = [
{
diff --git a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.tsx b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.tsx
index f0d26edd7c1a4..30d7c835ccf9f 100644
--- a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.tsx
+++ b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.tsx
@@ -113,7 +113,6 @@ export function PropertyGroupFilters({
? (group.values as AnyPropertyFilter[])
: null
}
- style={{ marginBottom: 0 }}
onChange={(properties) => {
setPropertyFilters(properties, propertyGroupIndex)
}}
diff --git a/frontend/src/lib/components/PropertyIcon.stories.tsx b/frontend/src/lib/components/PropertyIcon.stories.tsx
index 810356add58e5..91b2149cb837d 100644
--- a/frontend/src/lib/components/PropertyIcon.stories.tsx
+++ b/frontend/src/lib/components/PropertyIcon.stories.tsx
@@ -1,17 +1,20 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react'
+import { Meta, StoryFn, StoryObj } from '@storybook/react'
import { PROPERTIES_ICON_MAP, PropertyIcon } from 'lib/components/PropertyIcon'
import { LemonTable } from 'lib/lemon-ui/LemonTable'
import { countryCodeToName } from 'scenes/insights/views/WorldMap'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Lemon UI/Icons/Property Icon',
component: PropertyIcon,
parameters: {
testOptions: { skip: true }, // There are too many icons, the snapshots are huge in table form
},
-} as ComponentMeta
+ tags: ['autodocs'],
+}
+export default meta
-const Template: ComponentStory = (args) => {
+const Template: StoryFn = (args) => {
if (args.value) {
return
}
@@ -52,28 +55,28 @@ const Template: ComponentStory = (args) => {
)
}
-export const Default_ = Template.bind({})
+export const Default_: Story = Template.bind({})
Default_.args = {
property: '$browser',
value: 'Chrome',
}
-export const Browser_ = Template.bind({})
+export const Browser_: Story = Template.bind({})
Browser_.args = {
property: '$browser',
}
-export const DeviceType_ = Template.bind({})
+export const DeviceType_: Story = Template.bind({})
DeviceType_.args = {
property: '$device_type',
}
-export const OS_ = Template.bind({})
+export const OS_: Story = Template.bind({})
OS_.args = {
property: '$os',
}
-export const Country_ = Template.bind({})
+export const Country_: Story = Template.bind({})
Country_.args = {
property: '$geoip_country_code',
}
diff --git a/frontend/src/lib/components/PropertyIcon.tsx b/frontend/src/lib/components/PropertyIcon.tsx
index b19f1f7ffb2d0..91f351b7f1093 100644
--- a/frontend/src/lib/components/PropertyIcon.tsx
+++ b/frontend/src/lib/components/PropertyIcon.tsx
@@ -20,7 +20,7 @@ import {
import clsx from 'clsx'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { countryCodeToFlag } from 'scenes/insights/views/WorldMap'
-import { ReactNode } from 'react'
+import { HTMLAttributes, ReactNode } from 'react'
export const PROPERTIES_ICON_MAP = {
$browser: {
@@ -61,7 +61,7 @@ interface PropertyIconProps {
value?: string
className?: string
noTooltip?: boolean
- onClick?: (property: string, value?: string) => void
+ onClick?: HTMLAttributes['onClick']
tooltipTitle?: (property: string, value?: string) => ReactNode // Tooltip title will default to `value`
}
@@ -87,15 +87,7 @@ export function PropertyIcon({
}
const content = (
- {
- if (onClick) {
- e.stopPropagation()
- onClick(property, value)
- }
- }}
- className={clsx('inline-flex items-center', className)}
- >
+
{icon}
)
diff --git a/frontend/src/lib/components/PropertyKeyInfo.stories.tsx b/frontend/src/lib/components/PropertyKeyInfo.stories.tsx
index 3f47549c4efbf..715091e635075 100644
--- a/frontend/src/lib/components/PropertyKeyInfo.stories.tsx
+++ b/frontend/src/lib/components/PropertyKeyInfo.stories.tsx
@@ -1,13 +1,15 @@
-import { ComponentStory, ComponentMeta } from '@storybook/react'
+import { StoryFn, Meta, StoryObj } from '@storybook/react'
import { PropertyKeyInfo } from './PropertyKeyInfo'
-export default {
+type Story = StoryObj
+const meta: Meta = {
title: 'Components/Property Key Info',
component: PropertyKeyInfo,
-} as ComponentMeta
+}
+export default meta
-const Template: ComponentStory = (args) => {
+const Template: StoryFn = (args) => {
return args.value ? (
) : (
@@ -28,7 +30,7 @@ const Template: ComponentStory = (args) => {
)
}
-export const PropertyKeyInfo_ = Template.bind({})
+export const PropertyKeyInfo_: Story = Template.bind({})
PropertyKeyInfo_.args = {
value: undefined,
type: 'event',
diff --git a/frontend/src/lib/components/ResizableTable/VirtualTableHeader.tsx b/frontend/src/lib/components/ResizableTable/VirtualTableHeader.tsx
deleted file mode 100644
index 3cb921ee1389d..0000000000000
--- a/frontend/src/lib/components/ResizableTable/VirtualTableHeader.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-import React, { useLayoutEffect, useState } from 'react'
-import { InternalColumnType, ResizeHandler, ANTD_EXPAND_BUTTON_WIDTH } from './index'
-import { ResizableBox } from 'react-resizable'
-interface ResizableTitleProps {
- children: React.ReactChild
- onResize: ResizeHandler
- initialWidth: number
- height: number
- minConstraints: [number, number]
- maxConstraints: [number, number]
-}
-
-interface VirtualTableHeaderProps {
- columns: InternalColumnType[]
- handleResize: (index: number) => ResizeHandler
- layoutEffect?: CallableFunction
- minColumnWidth: number
- expandable?: Record
-}
-
-function ResizableTitle({
- children,
- onResize,
- initialWidth,
- height,
- minConstraints,
- maxConstraints,
-}: ResizableTitleProps): JSX.Element {
- const innerContent = (
-
- )
- const [width, setWidth] = useState(initialWidth)
- const [isDragging, setIsDragging] = useState(false)
- const handleResize: ResizeHandler = (event, data): void => {
- setWidth(data.size.width)
- onResize(event, data)
- }
- return (
-
- }
- onResize={handleResize}
- onResizeStart={(e) => {
- e.preventDefault()
- setIsDragging(true)
- }}
- onResizeStop={() => {
- setIsDragging(false)
- }}
- draggableOpts={{ enableUserSelectHack: true }}
- >
- {innerContent}
-
-
- )
-}
-
-function VirtualTableHeader({
- columns,
- handleResize,
- layoutEffect,
- minColumnWidth: defaultMinColumnWidth,
- expandable,
-}: VirtualTableHeaderProps): JSX.Element {
- const height = 60
- useLayoutEffect(() => (typeof layoutEffect === 'function' ? layoutEffect() : undefined))
- return (
-
- {!!expandable && (
-
- )}
- {columns.map(({ title, width, widthConstraints }, index) => {
- const minColumnWidth = widthConstraints?.length ? widthConstraints[0] : defaultMinColumnWidth
- const maxColumnWidth = widthConstraints?.length ? widthConstraints[1] : Infinity
- return (
-
- {title}
-
- )
- })}
-
- )
-}
-
-export default React.memo(VirtualTableHeader) as typeof VirtualTableHeader
diff --git a/frontend/src/lib/components/ResizableTable/index.scss b/frontend/src/lib/components/ResizableTable/index.scss
deleted file mode 100644
index 5010fbe0cee52..0000000000000
--- a/frontend/src/lib/components/ResizableTable/index.scss
+++ /dev/null
@@ -1,81 +0,0 @@
-@import '../../../styles/mixins';
-
-.resizable-table-scroll-container {
- max-width: 100%;
- overflow-x: auto;
- position: relative;
-
- .table-gradient-overlay {
- overflow-y: hidden;
-
- &.scrollable-right::after {
- z-index: 99;
- @extend %mixin-gradient-overlay-right;
- right: 0;
- width: 150px;
- }
- }
-
- .ant-table table {
- border-collapse: collapse;
- table-layout: fixed;
- }
-}
-
-.resizable-virtual-table-header {
- display: flex;
-
- .react-resizable-wrapper {
- background: rgb(250, 250, 250);
- border-bottom: 1px solid #f0f0f0;
-
- &:last-child {
- .resizable-handle {
- display: none;
- }
- }
- }
-
- .left-spacer {
- background: rgb(250, 250, 250);
- border-bottom: 1px solid #f0f0f0;
- flex-grow: 0;
- flex-shrink: 0;
- }
-}
-
-.react-resizable {
- position: relative;
-
- .inner-wrapper {
- height: 100%;
- display: flex;
- align-items: center;
- }
- .inner-text {
- max-height: 8rem;
- overflow: hidden;
- padding: 8px;
- font-weight: medium;
- }
-
- .resizable-handle {
- position: absolute;
- right: 0;
- top: 0;
- z-index: 1;
- width: 10px;
- height: 100%;
- cursor: col-resize;
- border-right: 1px solid #f0f0f0;
- transition: 0.2s border-color ease;
-
- &:hover {
- border-color: var(--primary-light);
- }
-
- &[data-drag-active='true'] {
- border-color: var(--primary);
- }
- }
-}
diff --git a/frontend/src/lib/components/ResizableTable/index.tsx b/frontend/src/lib/components/ResizableTable/index.tsx
deleted file mode 100644
index 1f560fd366752..0000000000000
--- a/frontend/src/lib/components/ResizableTable/index.tsx
+++ /dev/null
@@ -1,235 +0,0 @@
-import { useEffect, useLayoutEffect, useRef, useState } from 'react'
-import { Table, TableProps } from 'antd'
-import { ColumnType } from 'antd/lib/table'
-import { ResizableProps } from 'react-resizable'
-import ResizeObserver from 'resize-observer-polyfill'
-import { RenderedCell } from 'rc-table/lib/interface'
-import { getFullwidthColumnSize, getMinColumnWidth, parsePixelValue } from 'lib/utils/responsiveUtils'
-import VirtualTableHeader from './VirtualTableHeader'
-import { useBreakpoint } from 'lib/hooks/useBreakpoint'
-
-import './index.scss'
-
-export interface ResizableColumnType extends ColumnType {
- title: string | JSX.Element
- key?: string
- dataIndex?: string
- render?:
- | ((record: RecordType, ...rest: any) => JSX.Element | string | RenderedCell | null)
- | ((value: any, record?: RecordType, ...rest: any) => JSX.Element | string | RenderedCell | null)
- ellipsis?: boolean
- span: number
- defaultWidth?: number
- eventProperties?: string[]
- widthConstraints?: [number, number] // Override default min and max width (px). To specify no max, use Infinity.
-}
-
-export interface InternalColumnType extends ResizableColumnType {
- width?: number
-}
-
-export type ResizeHandler = Exclude
-
-// https://github.com/ant-design/ant-design/blob/4cdd24f4ec1ffb638175bb6c2dbb4fd7f103d60f/components/table/style/index.less#L422-L424
-export const ANTD_EXPAND_BUTTON_WIDTH = 48
-
-interface ResizableTableProps extends TableProps {
- columns: ResizableColumnType[]
-}
-
-// Type matches antd.Table
-export function ResizableTable = any>({
- columns: initialColumns = [],
- components,
- ...props
-}: ResizableTableProps): JSX.Element {
- const breakpoint = useBreakpoint()
- const minColumnWidth = getMinColumnWidth(breakpoint)
- const [columns, setColumns] = useState(() => {
- const lastIndex = initialColumns.length
- return initialColumns.map((col, index) => ({
- ...col,
- width: index === lastIndex ? undefined : minColumnWidth,
- })) as InternalColumnType[]
- })
- const [headerColumns, setHeaderColumns] = useState(columns)
- const [headerShouldRender, setHeaderShouldRender] = useState(false)
- const scrollWrapperRef = useRef(null)
- const overlayRef = useRef(null)
- const timeout: any = useRef()
-
- function setScrollableRight(value: boolean): void {
- if (value) {
- return overlayRef?.current?.classList.add('scrollable-right')
- }
- return overlayRef?.current?.classList.remove('scrollable-right')
- }
-
- function updateScrollGradient(): void {
- if (overlayRef.current) {
- const overlay = overlayRef.current
- if (overlay.offsetWidth + overlay.scrollLeft < overlay.scrollWidth) {
- setScrollableRight(true)
- } else {
- setScrollableRight(false)
- }
- }
- }
-
- function getColumnCSSWidths(): Array {
- const columnNodes = scrollWrapperRef.current?.querySelectorAll('.ant-table-content colgroup col')
- if (columnNodes) {
- const cols = Array.from(columnNodes)
- return cols.map((col) => (col.style.width ? parsePixelValue(col.style.width) : undefined))
- }
- return []
- }
-
- function updateColumnWidth(index: number, width: number): void {
- const col = scrollWrapperRef.current?.querySelector(
- // nth-child is 1-indexed. first column is fixed. last column width must be uncontrolled.
- `.ant-table-content colgroup col:nth-child(${index + 1 + Number(!!props.expandable)}):not(:last-child)`
- )
- col?.setAttribute('style', `width: ${width}px;`)
- }
-
- function unsetLastColumnStyle(): void {
- // last column width must be uncontrolled.
- const col = scrollWrapperRef.current?.querySelector('.ant-table-content colgroup col:last-child')
- col?.removeAttribute('style')
- }
-
- function updateTableWidth(): void {
- // elements have super strange auto-sizing: (https://css-tricks.com/fixing-tables-long-strings/)
- // We control the width of the based on the width of the virtual header.
- const header = scrollWrapperRef.current?.querySelector('.resizable-virtual-table-header')
- if (header?.childNodes) {
- const children = Array.from(header?.childNodes) as HTMLElement[]
- const headerWidth = children.reduce((total, { offsetWidth }) => total + (offsetWidth ?? 0), 0)
- if (headerWidth) {
- const table = scrollWrapperRef.current?.querySelector('.ant-table table')
- table?.setAttribute('style', `width: ${headerWidth}px;`)
- }
- }
- unsetLastColumnStyle()
- }
-
- const handleColumnResize =
- (index: number): ResizeHandler =>
- (_, { size: { width } }) => {
- if (timeout.current) {
- cancelAnimationFrame(timeout.current)
- }
- timeout.current = requestAnimationFrame(function () {
- updateColumnWidth(index, width)
- updateTableWidth()
- })
- updateScrollGradient()
- }
-
- function handleWrapperResize(newWidth: number): void {
- // Recalculate column widths if the wrapper changes size.
- const table = scrollWrapperRef.current?.querySelector('.ant-table table')
- const oldWidth = table?.clientWidth
- if (!oldWidth || oldWidth === newWidth) {
- return
- }
- if (timeout.current) {
- cancelAnimationFrame(timeout.current)
- }
- const resizeRatio = newWidth / oldWidth
- const columnWidths = getColumnCSSWidths()
- timeout.current = requestAnimationFrame(function () {
- setHeaderShouldRender(false)
- setHeaderColumns((cols) => {
- const lastIndex = initialColumns.length - 1
- const nextColumns = cols.map((column, index) =>
- index === lastIndex
- ? column
- : {
- ...column,
- width: Math.max(
- (columnWidths[index + Number(!!props.expandable)] ?? 0) * resizeRatio,
- minColumnWidth
- ),
- }
- )
- nextColumns.slice(0, lastIndex).forEach((col, index) => {
- updateColumnWidth(index, col.width ?? minColumnWidth)
- })
- updateTableWidth()
- return nextColumns
- })
- setHeaderShouldRender(true)
- })
- }
-
- const resizeObserver = new ResizeObserver((entries: ResizeObserverEntry[]) => {
- entries.forEach(({ contentRect: { width } }) => handleWrapperResize(width))
- })
-
- useEffect(() => {
- // Update render prop when parent columns change
- setColumns((cols) => {
- const lastIndex = cols.length
- return cols.map((column, index) =>
- index === lastIndex
- ? column
- : {
- ...column,
- render: initialColumns[index].render,
- }
- )
- })
- }, [initialColumns])
-
- useLayoutEffect(() => {
- // Calculate relative column widths (px) once the wrapper is mounted.
- if (scrollWrapperRef.current) {
- resizeObserver.observe(scrollWrapperRef.current)
- const wrapperWidth = scrollWrapperRef.current.clientWidth
- const gridBasis = columns.reduce((total, { span }) => total + span, 0)
- const columnSpanWidth = getFullwidthColumnSize(wrapperWidth, gridBasis)
- setColumns((cols) => {
- const lastIndex = cols.length
- const nextColumns = cols.map((column, index) =>
- index === lastIndex
- ? column
- : {
- ...column,
- width: Math.max(column.defaultWidth || columnSpanWidth * column.span, minColumnWidth),
- }
- )
- setHeaderColumns(nextColumns)
- return nextColumns
- })
- updateScrollGradient()
- setHeaderShouldRender(true)
- }
- }, [])
-
- return (
-
-
- {headerShouldRender && (
-
- )}
-
null }, // Nix that header row
- }}
- tableLayout="fixed"
- {...props}
- />
-
-
- )
-}
diff --git a/frontend/src/lib/components/Resizer/Resizer.scss b/frontend/src/lib/components/Resizer/Resizer.scss
index e0613065e9544..4fa7711683239 100644
--- a/frontend/src/lib/components/Resizer/Resizer.scss
+++ b/frontend/src/lib/components/Resizer/Resizer.scss
@@ -3,7 +3,6 @@
position: absolute;
top: 0;
bottom: 0;
- left: calc(var(--resizer-width) / 2 * -1);
width: var(--resizer-width);
cursor: col-resize;
user-select: none; // Fixes inadvertent selection of scene text when resizing
@@ -43,6 +42,16 @@
}
}
+ &--left {
+ left: 0px;
+ transform: translateX(calc(var(--resizer-width) / 2 * -1));
+ }
+
+ &--right {
+ right: 0px;
+ transform: translateX(calc(var(--resizer-width) / 2 * +1));
+ }
+
&:hover .Resizer__handle::after,
&--resizing .Resizer__handle::after {
opacity: 0.25;
diff --git a/frontend/src/lib/components/Resizer/Resizer.tsx b/frontend/src/lib/components/Resizer/Resizer.tsx
index 2958b4c6c2128..7337be5e2a493 100644
--- a/frontend/src/lib/components/Resizer/Resizer.tsx
+++ b/frontend/src/lib/components/Resizer/Resizer.tsx
@@ -2,17 +2,40 @@ import { useActions, useValues } from 'kea'
import './Resizer.scss'
import { ResizerLogicProps, resizerLogic } from './resizerLogic'
import clsx from 'clsx'
+import { useEffect, useState } from 'react'
-export function Resizer(props: ResizerLogicProps): JSX.Element {
+export type ResizerProps = ResizerLogicProps & {
+ offset?: number | string
+}
+
+export function Resizer(props: ResizerProps): JSX.Element {
const logic = resizerLogic(props)
const { isResizeInProgress } = useValues(logic)
const { beginResize } = useActions(logic)
+ // The same logic can be used by multiple resizers
+ const [isSelected, setIsSelected] = useState(false)
+
+ useEffect(() => {
+ if (!isResizeInProgress) {
+ setIsSelected(false)
+ }
+ }, [isResizeInProgress])
+
return (
{
if (e.button === 0) {
+ setIsSelected(true)
beginResize(e.pageX)
}
}}
diff --git a/frontend/src/lib/components/Resizer/resizerLogic.ts b/frontend/src/lib/components/Resizer/resizerLogic.ts
index 46de93c6ad8f0..4cf16cdf9fb5f 100644
--- a/frontend/src/lib/components/Resizer/resizerLogic.ts
+++ b/frontend/src/lib/components/Resizer/resizerLogic.ts
@@ -1,9 +1,28 @@
-import { actions, beforeUnmount, kea, listeners, path, props, reducers } from 'kea'
+import { actions, beforeUnmount, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import type { resizerLogicType } from './resizerLogicType'
+import posthog from 'posthog-js'
+
+export type ResizerEvent = {
+ originX: number
+ desiredX: number
+ finished: boolean
+ originWidth: number
+ desiredWidth: number
+}
export type ResizerLogicProps = {
- onResize: (event: { originX: number; desiredX: number; finished: boolean }) => void
+ /** Specifying a persistence key, will store the desired resize values in localstorage */
+ persistentKey?: string
+ /** Where the resizer is placed - the width increases as the mouse moves {placement} */
+ placement: 'left' | 'right'
+ containerRef: React.RefObject
+ onResize?: (event: ResizerEvent) => void
+ /** At what width, should this rather be considered a "close" event */
+ closeThreshold?: number
+ /** Fired when the "closeThreshold" is crossed */
+ onToggleClosed?: (closed: boolean) => void
+ onDoubleClick?: () => void
}
const removeAllListeners = (cache: Record): void => {
@@ -16,11 +35,15 @@ const removeAllListeners = (cache: Record): void => {
}
export const resizerLogic = kea([
- path(['components', 'resizer', 'resizerLogic']),
props({} as ResizerLogicProps),
+ key((props) => props.persistentKey ?? 'temporary'),
+ path((key) => ['components', 'resizer', 'resizerLogic', key]),
actions({
beginResize: (startX: number) => ({ startX }),
endResize: true,
+ setResizingWidth: (width: number | null) => ({ width }),
+ setDesiredWidth: (width: number | null) => ({ width }),
+ resetDesiredWidth: true,
}),
reducers({
isResizeInProgress: [
@@ -30,19 +53,107 @@ export const resizerLogic = kea([
endResize: () => false,
},
],
+ width: [
+ null as number | null,
+ { persist: true },
+ {
+ setDesiredWidth: (_, { width }) => width,
+ resetDesiredWidth: () => null,
+ },
+ ],
+ resizingWidth: [
+ null as number | null,
+ {
+ setResizingWidth: (_, { width }) => width,
+ beginResize: () => null,
+ endResize: () => null,
+ },
+ ],
}),
- listeners(({ cache, props, actions }) => ({
+ selectors({
+ desiredWidth: [
+ (s) => [s.width, s.resizingWidth, s.isResizeInProgress],
+ (width, resizingWidth, isResizeInProgress) => {
+ return isResizeInProgress ? resizingWidth ?? width : width
+ },
+ ],
+ }),
+ listeners(({ cache, props, actions, values }) => ({
beginResize: ({ startX }) => {
+ if (!props.containerRef.current) {
+ return
+ }
+
+ let isDoubleClick = cache.firstClickTimestamp && Date.now() - cache.firstClickTimestamp < 500
+ cache.firstClickTimestamp = Date.now()
+
+ const originContainerBounds = props.containerRef.current.getBoundingClientRect()
+
+ let isClosed = props.closeThreshold ? originContainerBounds.width < props.closeThreshold : false
+
removeAllListeners(cache)
cache.originX = startX
+ const calculateEvent = (e: MouseEvent, finished: boolean): ResizerEvent => {
+ // desired width is based on the change relative to the original bounds
+ // The resizer could be on the left or the right, so we need to account for this
+
+ const desiredWidth =
+ props.placement === 'left'
+ ? originContainerBounds.width - (e.pageX - cache.originX)
+ : originContainerBounds.width + (e.pageX - cache.originX)
+
+ return {
+ originX: cache.originX,
+ desiredX: e.pageX,
+ originWidth: originContainerBounds.width,
+ desiredWidth,
+ finished,
+ }
+ }
+
cache.onMouseMove = (e: MouseEvent): void => {
- props.onResize({ originX: cache.originX, desiredX: e.pageX, finished: false })
+ const event = calculateEvent(e, false)
+ props.onResize?.(event)
+ actions.setResizingWidth(event.desiredWidth)
+ isDoubleClick = false
+
+ const newIsClosed = props.closeThreshold ? event.desiredWidth < props.closeThreshold : false
+
+ if (newIsClosed !== isClosed) {
+ props.onToggleClosed?.(newIsClosed)
+ }
+
+ isClosed = newIsClosed
}
cache.onMouseUp = (e: MouseEvent): void => {
if (e.button === 0) {
+ const event = calculateEvent(e, false)
+
+ if (isDoubleClick) {
+ // Double click - reset to original width
+ actions.resetDesiredWidth()
+ cache.firstClickTimestamp = null
+
+ props.onDoubleClick?.()
+ } else if (event.desiredWidth !== values.width) {
+ if (!isClosed) {
+ // We only want to persist the value if it is open
+ actions.setDesiredWidth(event.desiredWidth)
+ }
+
+ props.onResize?.(event)
+
+ posthog.capture('element resized', {
+ key: props.persistentKey,
+ newWidth: event.desiredWidth,
+ originalWidth: originContainerBounds.width,
+ isClosed,
+ })
+ }
+
actions.endResize()
- props.onResize({ originX: cache.originX, desiredX: e.pageX, finished: true })
+
removeAllListeners(cache)
}
}
diff --git a/frontend/src/lib/components/SeriesGlyph.tsx b/frontend/src/lib/components/SeriesGlyph.tsx
index ba005396df91d..156ebcf5f367b 100644
--- a/frontend/src/lib/components/SeriesGlyph.tsx
+++ b/frontend/src/lib/components/SeriesGlyph.tsx
@@ -10,6 +10,7 @@ interface SeriesGlyphProps {
export function SeriesGlyph({ className, style, children, variant }: SeriesGlyphProps): JSX.Element {
return (
+ // eslint-disable-next-line react/forbid-dom-props
{children}
@@ -36,7 +37,9 @@ export function SeriesLetter({ className, hasBreakdown, seriesIndex, seriesColor
color: color,
backgroundColor: hexToRGBA(color, 0.15),
}
- : undefined
+ : {
+ color: 'var(--default)',
+ }
}
>
{alphabet[seriesIndex]}
diff --git a/frontend/src/lib/components/Sharing/SharingModal.stories.tsx b/frontend/src/lib/components/Sharing/SharingModal.stories.tsx
index 1c158a1825d52..e2fc7e134b254 100644
--- a/frontend/src/lib/components/Sharing/SharingModal.stories.tsx
+++ b/frontend/src/lib/components/Sharing/SharingModal.stories.tsx
@@ -1,5 +1,5 @@
import { useState } from 'react'
-import { ComponentMeta } from '@storybook/react'
+import { Meta } from '@storybook/react'
import { SharingModal, SharingModalProps } from './SharingModal'
import { AvailableFeature, InsightModel, InsightShortId, InsightType } from '~/types'
import { useStorybookMocks } from '~/mocks/browser'
@@ -12,15 +12,15 @@ const fakeInsight: Partial = {
filters: { insight: InsightType.TRENDS },
}
-export default {
+const meta: Meta = {
title: 'Components/Sharing',
component: SharingModal,
parameters: {
layout: 'fullscreen',
- options: { showPanel: false },
viewMode: 'story',
},
-} as ComponentMeta
+}
+export default meta
const Template = (args: Partial & { licensed?: boolean }): JSX.Element => {
const { licensed = false, ...props } = args
diff --git a/frontend/src/lib/components/Sharing/SharingModal.tsx b/frontend/src/lib/components/Sharing/SharingModal.tsx
index 92608e8ac5bce..446ac5065df42 100644
--- a/frontend/src/lib/components/Sharing/SharingModal.tsx
+++ b/frontend/src/lib/components/Sharing/SharingModal.tsx
@@ -121,28 +121,6 @@ export function SharingModalContent({
>
) : null}
diff --git a/frontend/src/lib/components/SignupReferralSource.tsx b/frontend/src/lib/components/SignupReferralSource.tsx
new file mode 100644
index 0000000000000..c56ff9931b7ff
--- /dev/null
+++ b/frontend/src/lib/components/SignupReferralSource.tsx
@@ -0,0 +1,15 @@
+import { LemonInput } from '@posthog/lemon-ui'
+import { Field } from 'lib/forms/Field'
+
+export default function SignupReferralSource({ disabled }: { disabled: boolean }): JSX.Element {
+ return (
+
+
+
+ )
+}
diff --git a/frontend/src/lib/components/SignupReferralSourceSelect.tsx b/frontend/src/lib/components/SignupReferralSourceSelect.tsx
deleted file mode 100644
index 13d58b2de9caf..0000000000000
--- a/frontend/src/lib/components/SignupReferralSourceSelect.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { Field } from 'lib/forms/Field'
-import { LemonSelect } from 'lib/lemon-ui/LemonSelect'
-
-export default function SignupReferralSourceSelect({ className }: { className?: string }): JSX.Element {
- return (
-
-
-
- )
-}
diff --git a/frontend/src/lib/components/SmoothingFilter/SmoothingFilter.tsx b/frontend/src/lib/components/SmoothingFilter/SmoothingFilter.tsx
index 961fa82e2ef84..9460168ba9fd4 100644
--- a/frontend/src/lib/components/SmoothingFilter/SmoothingFilter.tsx
+++ b/frontend/src/lib/components/SmoothingFilter/SmoothingFilter.tsx
@@ -1,10 +1,10 @@
-import { Select } from 'antd'
import { FundOutlined } from '@ant-design/icons'
import { smoothingOptions } from './smoothings'
import { useActions, useValues } from 'kea'
import { insightLogic } from 'scenes/insights/insightLogic'
import { insightVizDataLogic } from 'scenes/insights/insightVizDataLogic'
import { trendsDataLogic } from 'scenes/trends/trendsDataLogic'
+import { LemonSelect } from '@posthog/lemon-ui'
export function SmoothingFilter(): JSX.Element | null {
const { insightProps } = useValues(insightLogic)
@@ -31,9 +31,8 @@ export function SmoothingFilter(): JSX.Element | null {
}))
return options.length ? (
-