# Managing Authors and Affiliate Links

> This page refers to version 4 of Mooberry Book Manager, an outdated version. \
> \
> To view documentation for version 5 of Mooberry Book Manager, [click here](https://app.gitbook.com/s/XMRVdIc7DEWhFzWZgn5I/managing-authors-and-affiliate-links)

[![affiliate-setting](http://www.mooberrydreams.com/wp/wp-content/uploads/2016/09/affiliate-setting.png)](http://www.mooberrydreams.com/wp/wp-content/uploads/2016/09/affiliate-setting.png)

If this option is **unchecked** then the same affiliate codes will be used for all authors. In this case, the affiliate code options will appear on the Retailers Settings page.

If this option is **checked**, however, each author can use their own affiliate codes. The affiliate code options will no longer appear on the Retailers Settings page.  Instead, affiliate codes can be set while editing an author:

[![affiliate-setting-per-autho](http://www.mooberrydreams.com/wp/wp-content/uploads/2016/09/affiliate-setting-per-autho.png)](http://www.mooberrydreams.com/wp/wp-content/uploads/2016/09/affiliate-setting-per-autho.png)

You can add as many affiliate codes as you need, but you should only enter one per retailer per author.

Once the affiliate codes are entered, when a book page is viewed, MBM Multi-Author will pull the affiliate code that matches the retailer **AND** the author.

#### Affiliate Code

In this field you enter exactly whatever needs to be added to the URL for the retailer to track your sales. This will be the same on all of the book links for this retailer.

For example, Amazon’s code would look something like this:

**?tag=\<your-affiliate-id>**

#### Affiliate Code Position

Different retailers and affiliate programs use different ways of formatting the links for tracking affiliates. Choose the method your program uses.

If your affiliate links look like this, choose **After Book Link**:

<http://www.retailerwebsite.com/link/to/book/**someAffiliateCode>\*\*

If your affiliate links look like this, choose **Before Book Link**:

\*\*<http://www.affiliatewebsite.com/someAffiliateCode/**&#x68;ttp://www.retailerwebsite.com/link/to/book>

(Hint: For Amazon, use After Book Link.)
