Tracking links
Last updated
Was this helpful?
Last updated
Was this helpful?
To make successful tracking, you must follow next rules:
User must be registered and logged in on the site;
User must click on special link with SubID. You can make such links with special shortcodes. Also, SubID support is available in our Content Egg and Affiliate Egg plugins and in some themes, like Rehub.
Plugin has some ready shortcodes for tracking links.
Next shortcode will make tracking link for aliexpress merchant:
You must have approve from merchant in your affiliate network. If you was approved recently, make refresh list of joined advertisers in settings of module.
More safe and recommended way is to use advertiser ID instead domain and set also module name:
How to get Advertiser ID in .
You can also make special link on product page of merchant instead homepage:
Parameter name
Synonym
Required?
Description
advertiser
advertiser_id
Yes
Domain of merchant or Advertiser ID
module
module_id
No
Module name. For example: Admitad, Awin, Demo.
anchor
text
No
Text of link. If you don't add it, you will get url as text of url
product
product_url
No
URL of product.
class
No
css class for link.
target
No
target attribute
rel
No
rel attribute. By default - nofollow
WordpPress doesn't officially allow to use shortcodes inside HTML. But it still works in HTML editor
In Gutenberg editor, add Custom HTML or switch to Code editor in classic Editor.
Then, you can add href parameter to make custom link.