Links and sub-IDs
How to create tracking links, deep links to specific products, sub-IDs and HTML that shows the exact page every click came from.
An Affilyflow link sends the customer on to the store and records the click. If a purchase follows within the program's cookie duration, you earn the commission. The rate and the cookie window are locked the moment someone clicks – a store that lowers its rate later does not affect earlier clicks.
The affiliate dashboard is in Danish; buttons are given as they appear on screen, with an English translation.
What a link looks like
https://app.affilyflow.com/go/3f9a1c07beThe last part is the link's code. The address never changes – not even when you edit or archive the link.
Create a link
Press Nyt link (New link) at the top of the dashboard or Opret link (Create link) under Links → Dine links (Your links). You can also create a link from a program page or straight from a product under Produkter (Products). You can only create links to programs you have joined.
| Field | What it does |
|---|---|
| Program | The store the link goes to. |
| Hvor skal kunden lande? (Where should the customer land?) | The home page or a specific page at the store (deep link). |
| Sub-ID | Your own label to tell placements apart, e.g. two posts or videos. At most 80 characters. Under Flere felter (More fields) you can give the link sub-IDs 2–5 – see Sub-IDs 2–5. |
| Kampagne (Campaign) | Becomes the link's name and is passed to the store as utm_campaign. |
| Kanal (Channel) | Required: Website/SEO, Instagram, TikTok, YouTube, Facebook, Pinterest, E-mail or Andet (Other). Preselected with the channel you used last – before your first link, with the platform of your social profile. Channels the program does not allow are greyed out. Stores see your channels on your profile. Passed to the store as utm_medium (not for Website/SEO and Andet). If you choose Website/SEO, you can tie the link to one of your sites – also one we discovered automatically – or add a new one. |
| Site | Optional label. Passed to the store as utm_source. Not needed – clicks from your sites are measured automatically. |
| Placering (Placement) | The page where you put the link. Only used when the browser does not send the page itself. |
If a link with exactly the same settings already exists, you get the existing link instead of a copy. If you change the landing page, a sub-ID, campaign or channel, it becomes a new link.
Deep links to a specific page
Under Hvor skal kunden lande? you can enter:
- a path, e.g.
/products/sofa - a path with the store's own parameters, e.g.
/products/sofa?variant=42 - the full address at the store, e.g.
https://store.com/products/sofa
The landing page must be on the store's own domain – otherwise the sale cannot be tracked, and the link is not created.
You can also send an existing link to another page without creating a new link. Add ?p= with the path:
https://app.affilyflow.com/go/3f9a1c07be?p=/products/sofaA path on another domain is ignored, and the customer lands on the link's own landing page.
Sub-IDs
A sub-ID tells placements and campaigns apart in your numbers – for example an article versus a newsletter, or two TikTok videos. You can give a link a fixed sub-ID when you create it, or add one to an existing link with ?sid=:
https://app.affilyflow.com/go/3f9a1c07be?sid=tiktok-sofa-video-oct?sid= on the link wins over the link's own sub-ID. The sub-ID is stored on every click, and you see it under Resultater (Results – the Statistik, Klik & salg and Salg tabs), in the sale detail and in the CSV export.
Sub-IDs 2–5
If you need more layers – e.g. campaign, ad set and variant – every click has room for five sub-IDs. Add them to the link with ?sid2= to ?sid5=, or give the link fixed values under Flere valg → Flere felter (More options → More fields) in the link generator.
https://app.affilyflow.com/go/3f9a1c07be?sid=tiktok-oct&sid2=adset-b&sid3=video-2Each sub-ID is at most 80 characters. As with ?sid=, the parameter on the link wins over the link's own value, slot by slot. Sub-IDs 2–5 appear in Klik & salg, in the click and sales CSV and in the API and the MCP server, where you can also group your numbers by them. They are not passed on to the store.
If you move links from another network, their parameter names are read too, so your existing tools keep working without changes:
| Affilyflow | Awin | Adtraction |
|---|---|---|
sid | clickref | epi |
sid2 … sid5 | clickref2 … clickref5 | epi2 … epi5 |
If the same slot is given more than once, sid wins, then clickref, then epi.
Several clicks in one visit
One visit counts as one click: if the same customer clicks several of your links to the same store within 30 minutes, it is one click with one click ID. The commission and the cookie window are locked from the first click of the visit.
The click shows the most recently used link in the visit – the link, sub-IDs, page and landing page of the last of your links the customer clicked. That is the link that last sent the customer to the store, and the one the sale is credited to. In Klik & salg the click carries the label Senest i besøget (latest in the visit), and the detail shows how many times there were clicks and which link the visit started on.
The referrer and the source are those of the visit's first click. A rule breach on any click in the visit stays – a later link never removes it. Once there is a sale on the click, it no longer changes.
Parameters you can add to the link yourself
| Parameter | Example | Effect |
|---|---|---|
sid | ?sid=blog-sofas-oct | Sub-ID for this particular click (at most 80 characters). |
sid2 … sid5 | ?sid2=adset-b | Sub-IDs 2–5 (at most 80 characters each). clickref/clickref2… and epi/epi2… are read too. |
p | ?p=/products/sofa | Landing page at the store. |
utm_* | ?utm_content=button-top | Passed on to the store so it can see it in its own analytics. |
Parameters can be combined: ?sid=newsletter-oct&p=/sale. The placement parameter is set by the placement.js script – you should not write it yourself.
Copy link or Copy HTML
Every link has two buttons.
Kopier link (Copy link) gives you the address. Use it on social media, in video descriptions, in emails and anywhere else you can only paste an address.
Kopier HTML (Copy HTML) gives you ready-made link code for your site. You can edit the link text before you copy.
<a href="https://app.affilyflow.com/go/3f9a1c07be" rel="sponsored noopener" target="_blank" referrerpolicy="no-referrer-when-downgrade">See the offer at Store</a>| Attribute | Why |
|---|---|
referrerpolicy="no-referrer-when-downgrade" | Asks the browser to send the full address of the page. The click then automatically gets the exact page the link was on – no script and no sub-ID needed. |
rel="sponsored" | Tells search engines the link is a paid link. |
rel="noopener" and target="_blank" | Opens the store in a new tab without the store's page being able to control yours. |
The store's banners (on the program page once you have joined) have the same attributes.
QR code
Open a link under Dine links to see and download its QR code – for print, posters or a video, for example.
Edit a link
Under Dine links you can change a link's name, landing page and site label. The address never changes.
Sub-IDs, campaign and channel cannot be changed on an existing link, because the clicks have already been recorded with them. Older links without a channel are collected at the top of Dine links (Your links) ("links mangler kanal" – links missing a channel), where you pick the channel with one click. Create a new link, or add ?sid= (and ?sid2= … ?sid5=) to the existing one.
Archive a link
Press Arkiver (Archive) to hide a link from the list. An archived link keeps working: it sends the customer on and records clicks and sales. Press Hent frem (Restore) to show it again.
Limits
- Links can only be created for programs you have joined and that are active.
- Through the API and the MCP server you can create at most 500 new links per 24 hours. A reused identical link does not count.
Missing something?
Write to us – we answer quickly, and the page gets fixed.