How can I place my affiliate ID in the plugin?



ID #1095
Last update: 2017-05-02 13:21


Blog2Social provides various sales triggers for converting FREE users to PREMIUM upgrades. Affiliates can benefit from these sales.
You can include your affiliate id into the wp-config.php of your own blog or any blog, you install and configure for your users or clients.

It's easy:

  1. Open the wp-config.php, located in the root folder of your installation, with a text editor of your choice
  2. Scroll to the lines with constants definitions. Normally you find them from line 51 to 58
  3. Insert a new line below and add the following code: define("B2S_PLUGIN_AFFILIATE_ID", '[put in your affiliate id here]'); e.g. define("B2S_PLUGIN_AFFILIATE_ID", '1234');
  4. Save your changes.
define("B2S_PLUGIN_AFFILIATE_ID", 'put in your affiliate id here');

Whenever a user of a blog with your affiliate id stored in the wp-config.php clicks one of the triggers to upgrade and purchases a PREMIUM license, Blog2Social will recognize your affiliate id and automatically assign the sales to your affiliate account.