From 459bc4ecd7f92bb8e130e947069633ae6c22e9b9 Mon Sep 17 00:00:00 2001 From: Ben White Date: Thu, 7 Dec 2023 11:24:51 +0100 Subject: [PATCH] feat: Added new campaign params (#19138) --- plugin-server/src/utils/db/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin-server/src/utils/db/utils.ts b/plugin-server/src/utils/db/utils.ts index 4a0198d133f08..e335c853d707e 100644 --- a/plugin-server/src/utils/db/utils.ts +++ b/plugin-server/src/utils/db/utils.ts @@ -57,7 +57,7 @@ const eventToPersonProperties = new Set([ '$os_version', '$referring_domain', '$referrer', - // campaign params + // campaign params - automatically added by posthog-js here https://github.com/PostHog/posthog-js/blob/master/src/utils/event-utils.ts 'utm_source', 'utm_medium', 'utm_campaign', @@ -65,6 +65,8 @@ const eventToPersonProperties = new Set([ 'utm_name', 'utm_term', 'gclid', + 'gbraid', + 'wbraid', 'fbclid', 'msclkid', ])