In order to enable this add-on, please navigate to Settings → Link Management → Affiliate Link Management settings and reload the page.
You would see a new post type named "Affiliate Links" right above or below the WPAdCenter post type with the same logo as that of WPAdCenter.
to create affiliate links, navigate to Affiliate Link → Create Affiliate Link
Destination URL: Enter the destination URL to which user will be redirected on link click
Cloaked URL - Cloaking ensures that visitors see the original domain name and not the destination URL. You can change the prefix (default 'recommends') that comes before the cloaked link's slug from global settings, navigate to WordPress Admin dashboard > WPAdCenter > Settings > General > Link options > Cloaked link prefix.
Use cloaked URL: this enabled cloaked URL functionality
Link Options - (Available when Ad Type is Banner Image or External Image Link)
Open link in a new tab - Select 'Yes' from the dropdown to open the link in the new tab. If the 'Global' option is selected, then a global setting will be applied.
Use nofollow on link - If selected 'Yes' from dropdown, it signals that the page linking out is claiming no endorsement of the page it links to. If the 'Global' option is selected, then a global setting will be applied.
Additional rel tags - Adds rel tags to the link. If the 'Global' checkbox is selected, the global setting will be applied. To override global settings, uncheck the global setting's checkbox and select tags from the dropdown.
Additional CSS classes - Adds classes to the link. If the 'Global' checkbox is selected, the global setting will be applied. To override global settings, uncheck the global setting's checkbox and provide classes in the input box.
Link Scanner - This will scan the current link in pages and post and show you the table where this link is currently being used.
In Manage Affiliate Links page, you would be able to see data of currently created links and shortcode to copy.
Currently, you can add affiliate links to pages and post using two ways
Short code - You can copy the short code from manage affiliate links and paste it on your post or page in classic editor or Gutenberg editor, please refer to the example below.
[aa_link id=7] Will create a link with title as 'example affiliate link'
[aa_link id=7]new title[/aa_link] if content is provided in between shortcode the link title will be set to new 'new title'
Gutenberg Rich text toolbar - When you type in Gutenberg a text box editor popup appears click on the arrow button and then click on Affiliate Link which contains WPAdCenter Logo in it refer to the screenshots below
after clicking on it, a popover appears where you can select the affiliate links which you have created refer the screenshot below
please note the cursor in above example currently it's blank which means when you apply a link to it the title would be what you have provided in affiliate link post type (refer the screenshot below). but if you have a selected a word, the link will be attached to the word itself.
You could also delete it using the delete button provided on the popover link will be deleted in that case not the text.
In this page, you would be able to see detailed report of affiliate links you have created in the post type.
You can generate custom reports by selecting start date and end date and links, also you would be able to see All-Time Top 10 Clicks stats for the links