Skip to content

Commit

Permalink
feat: Add more ad ids
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Mar 7, 2024
1 parent abc2a17 commit 075a29b
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 075a29b

Please sign in to comment.