Skip to content

Commit

Permalink
feat: add irclid and _kx as campaign parameters (#1648)
Browse files Browse the repository at this point in the history
* feat: add irclid and _kx as campaign parameters

* update tests
  • Loading branch information
havenbarnes authored Jan 14, 2025
1 parent b53a47c commit bc2449a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,15 @@ describe('setAllPersonPropertiesForFlags', () => {
"$os_version": "4.4.0",
"$referrer": "https://referrer.com",
"$referring_domain": "referrer.com",
"_kx": null,
"dclid": null,
"fbclid": null,
"gad_source": null,
"gbraid": null,
"gclid": null,
"gclsrc": null,
"igshid": null,
"irclid": null,
"li_fat_id": null,
"mc_cid": null,
"msclkid": null,
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/personProcessing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { RemoteConfig } from '../types'

const INITIAL_CAMPAIGN_PARAMS_NULL = {
$initial_current_url: null,
$initial__kx: null,
$initial_dclid: null,
$initial_fbclid: null,
$initial_gad_source: null,
Expand All @@ -15,6 +16,7 @@ const INITIAL_CAMPAIGN_PARAMS_NULL = {
$initial_gclsrc: null,
$initial_host: null,
$initial_igshid: null,
$initial_irclid: null,
$initial_li_fat_id: null,
$initial_mc_cid: null,
$initial_msclkid: null,
Expand Down
2 changes: 2 additions & 0 deletions src/utils/event-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export const CAMPAIGN_PARAMS = [
'igshid', // instagram
'ttclid', // tiktok
'rdt_cid', // reddit
'irclid', // impact
'_kx', // klaviyo
]

export const EVENT_TO_PERSON_PROPERTIES = [
Expand Down

0 comments on commit bc2449a

Please sign in to comment.