Scripts
Advanced use cases & examples
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