Skip to content

Commit

Permalink
feat: Add more ad ids (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c authored Mar 7, 2024
1 parent abc2a17 commit 083a453
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/utils/event-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,19 @@ export const _info = {
'utm_campaign',
'utm_content',
'utm_term',
'gclid',
'gad_source',
'gbraid',
'wbraid',
'fbclid',
'msclkid',
'gclid', // google ads
'gad_source', // google ads
'gclsrc', // google ads 360
'dclid', // google display ads
'gbraid', // google ads, web to app
'wbraid', // google ads, app to web
'fbclid', // facebook
'msclkid', // microsoft
'twclid', // twitter
'li_fat_id', // linkedin
'mc_cid', // mailchimp campaign id
'igshid', // instagram
'ttclid', // tiktok
].concat(customParams || [])

const params: Record<string, any> = {}
Expand Down

0 comments on commit 083a453

Please sign in to comment.