DisplaySharingPageParamsType
Ce contenu n’est pas encore disponible dans votre langue.
DisplaySharingPageParamsType = {
attribution?:AttributionParams|null;link?:string;metadata?: {homepageLink?:string;i18n?:I18nConfig;logo?:string;targetInteraction?:InteractionTypeKey; };products?:SharingPageProduct[]; }
Defined in: types/rpc/displaySharingPage.ts:35
Parameters to display the sharing page
Properties
Section titled “Properties”attribution?
Section titled “attribution?”
optionalattribution?:AttributionParams|null
Defined in: types/rpc/displaySharingPage.ts:57
Optional attribution overrides for the outbound sharing URL.
When provided (even as an empty object), Frak adds standard affiliation
params (utm_source=frak, utm_medium=referral, utm_campaign=<merchantId>,
ref=<clientId>, via=frak) alongside fCtx. Existing UTMs on the base
URL are preserved (gap-fill). Set this to null to disable attribution
params entirely (only fCtx is added).
Default
Section titled “Default”{} — defaults applied
optionallink?:string
Defined in: types/rpc/displaySharingPage.ts:45
Optional link override for sharing If not provided, the sharing link will be generated from the current page URL + merchant context
metadata?
Section titled “metadata?”
optionalmetadata?: {homepageLink?:string;i18n?:I18nConfig;logo?:string;targetInteraction?:InteractionTypeKey; }
Defined in: types/rpc/displaySharingPage.ts:61
Optional metadata overrides for the sharing page
homepageLink?
Section titled “homepageLink?”
optionalhomepageLink?:string
Link to the homepage of the calling website
optionali18n?:I18nConfig
i18n overrides for the sharing page
optionallogo?:string
Logo override for the sharing page header
targetInteraction?
Section titled “targetInteraction?”
optionaltargetInteraction?:InteractionTypeKey
The target interaction behind this sharing page
products?
Section titled “products?”
optionalproducts?:SharingPageProduct[]
Defined in: types/rpc/displaySharingPage.ts:40
Products to showcase on the sharing page If provided, they will be displayed in a product card section