Affiliate Links
The module "Affiliate Links" adds your partner ID to links to the shops you list. In the Short URL Script it attaches the ID before the redirect, in the News Script it changes the links in articles, and on request it also changes the links in comments.
Compatible with:
The module is included in the script package. Install it in the admin area under Modules, then switch it on in its settings.
How this module works
Affiliate programs recognise your referrals by a tracking parameter in the link. The module attaches this parameter to every link that points to one of the shops on your list.
https://www.example.com/?tracking=example-123
The tracking parameter is different for each affiliate program. For example, the tracking parameter of the Amazon affiliate program is tag, and the value is your tracking ID from the Amazon affiliate program control panel.
https://www.amazon.com/?tag=yourid-21
Rules
You write one rule per line: the domain, a space and the parameter with its value. Subdomains like www.amazon.com are included. The module manages an unlimited number of affiliate programs.
amazon.com tag=yourid-21
example.com tracking=example-123
Where the links are changed
- Short URL Script: short URLs to a listed shop redirect to the link with your partner ID
- News Script: links in articles
- News Script, Guestbook Script and Comment Script: optionally also links in comments
Settings
- Rules, one per line
- Replace existing partner IDs: if a link already contains the parameter, your value replaces it
- Also in links of comments