Create an affiliate program from your terminal
Run npx affitor init to create an affiliate program and get its tracking script and API key, then check it and send test events from your terminal.
The first version of the Affitor CLI is on npm. Create an affiliate program from your terminal and get its tracking script and API key.
npx affitor initstatusshows your program's health and recent events, andtestsends a test click, lead or sale.
Programs created this way were not yet linked to a dashboard account. Browser sign-in, programs and whoami arrived in May.