From 935d548db8a2093453877c2ec3f21ee4786459c7 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:54:31 +0200 Subject: [PATCH] add default filters --- posthog/cdp/templates/loops/template_loops.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/posthog/cdp/templates/loops/template_loops.py b/posthog/cdp/templates/loops/template_loops.py index dff208c74b151..01230f7727328 100644 --- a/posthog/cdp/templates/loops/template_loops.py +++ b/posthog/cdp/templates/loops/template_loops.py @@ -38,4 +38,12 @@ "required": True, } ], + filters={ + "events": [ + {"id": "$identify", "name": "$identify", "type": "events", "order": 0}, + {"id": "$set", "name": "$set", "type": "events", "order": 1}, + ], + "actions": [], + "filter_test_accounts": True, + }, )