mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Added FirstPromoter referral information to Stripe checkout session when available
closes https://github.com/TryGhost/Team/issues/1038 - FirstPromoter integration needs the referral tracking id information as part of checkout session object to correctly attribute member referrals - Adds `fp_tid` metadata key for FirstPromoter to correctly attribute paid signups
This commit is contained in:
parent
5afc0ac264
commit
14ca0e004b
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ function setupGhostApi({siteUrl = window.location.origin}) {
|
|||
metadata: {
|
||||
name,
|
||||
requestSrc: 'portal',
|
||||
fp_tid: (window.FPROM || window.$FPROM)?.data?.tid,
|
||||
...metadata
|
||||
},
|
||||
successUrl,
|
||||
|
|
Loading…
Add table
Reference in a new issue