Ecosystem

Affiliate links

Turn store URLs into your affiliate links and shorten them, automatically. Set it up once and earn commission on every link you share.

What it is

The Affiliate links add-on makes your Linsei automatically rewrite store URLs (Amazon, Miravia, PCComponentes, MediaMarkt, El Corte Inglés, AliExpress and any you add) as your affiliate links, right before shortening them. You paste a normal product URL and get a short link that earns you commission.

How it works

The conversion happens on the server, inside Linsei. When you create a link (from the panel, the API or the extension) Linsei detects the store, rewrites the address with your affiliate ID and shortens it. Because the logic lives on the server, you set it up once and it works across every way of creating links and all your devices.

A product URL goes in, Linsei turns it into your affiliate link and returns a short link.
A product URL goes in, Linsei turns it into your affiliate link and returns a short link.

How to use it

1

Install the add-on

Copy the affiliate-links folder into plugins/ in your Linsei (the download package already includes it). It activates on its own.

2

Set your affiliate IDs

An Affiliate section appears in the panel (admins only). Enter your Amazon tag and each store's affiliate templates (Awin, TradeDoubler, TradeTracker). They are saved on your server.

3

Create links as usual

Paste a product URL into + New link, or use it from the API or the extension. The resulting short link already points to your affiliate link.

Panel → Affiliate: your affiliate IDs per store (illustration of the real screen).
Panel → Affiliate: your affiliate IDs per store (illustration of the real screen).

The Chrome extension

It includes an extension to shorten the page you are viewing in one click. It shortens using your own Linsei, so affiliate conversion still happens on the server: the extension just sends the current URL and gets back the short link, already converted, copied to the clipboard.

The extension shows the short link (copied) and the affiliate destination.
The extension shows the short link (copied) and the affiliate destination.

Download the affiliate extension (.zip)

1

Load it in Chrome

Open chrome://extensions, enable «Developer mode» and click «Load unpacked» on the chrome-extension-afiliacion folder.

2

Connect it to your Linsei

In the options, enter your Linsei URL and your API token (panel → Help). Optional: code and title prefixes.

3

Shorten in one click

On any product page, click the icon. You get the short affiliate link instantly.

Supported stores

Once you set your ID, these work:

AmazonMiraviaPCComponentesMediaMarktEl Corte InglésAliExpress+ custom rules

Amazon is handled specially (it extracts the ASIN product code and adds your tag, keeping seller and options). The rest use affiliate templates from networks like Awin, TradeDoubler or TradeTracker. You can add any other store under «Other rules».

Your affiliate IDs are stored on your own server (data/affiliate-links.json), never in the extension or on third-party sites.