Skip to main content

Passing the ref id programmatically

fpr("init",{cid:"...",ref_id:"..."}) Getting the ref id from the url and passing it to fpr init

Passing the ref id programmatically from a query string

Forcing a new tid to be created or reinitializing the FirstPromoter cookies

You can force a new tid to be created by invalidating the old one. This can be done by passing cookie_ref_id: ‘xxx’ as shown in the example below
It can also be used to force new emails to be collected on page refresh

Setting a default Promoter