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.
If user is not logged in on site and clicks such link, it will work as simple affiliate link without tracking and cashback.
Next shortcode will make tracking link for aliexpress merchant:
[tracking-link advertiser="aliexpress.com" anchor="Click here for cashback!" /]
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:
[tracking-link advertiser=6115 module=Admitad anchor="Go to Aliexpress" /]
You can also make special link on product page of merchant instead homepage:
[tracking-link advertiser=6115 module=Admitad product="https://aliexpress.com/item//32218315642.html" target="blank"]Product tracking link[/tracking-link]
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.
<a href="[tracking-link advertiser=15767 /]">My custom link</a>