Click tracking
Find which page earns the most
Your networks show sales for each program, not for each page. One API call shows the commission of each page of your site.
What it looks like
| Page | Conv. | Commission |
|---|---|---|
| /best-running-shoes | 41 | €612.30 |
| /boots-review | 27 | €388.10 |
| /travel-insurance-guide | 12 | €254.00 |
| /coupon/nordic-outdoor | 19 | €96.75 |
- Each row is one page. The value is the
pageof the click that led to the sale. - Conv. is the number of sales that came from clicks on that page.
- Commission is in the currency of your workspace. The bar shows the share of the best page.
Why this matters
A few pages of a site earn most of the money. When you do not know which pages, you write new articles by guess and you leave the best old pages alone.
With the commission of each page, you know where to write next. You also know which old page to update first.
Why most tools cannot tell you
A network sees the sale. It does not see your page. It knows only the tracking link that the buyer used. When many pages use one link, the network cannot tell them apart.
A web analytics tool sees the page. It does not see the commission, because the sale happens on the site of the advertiser.
To join the two, a tool must put its own click ID in the link and read the same ID back with the sale. Most reports do not do this, so you join the numbers by hand.
How AffFast does it
AffFast has its own redirector. Your link goes through it. The redirector saves the click with its page and puts a click ID in the SubID slot of the network.
When the network reports the sale with that SubID, the sync joins the sale to the click. Then GET /v1/stats?group_by=page gives the commission of each page. A sale with no click is in the group unattributed, so the totals stay correct.
How to do it
- Connect your network. Check that it has a SubID slot: read
capabilities.subid_slotswithGET /v1/networks/{id}. - Make a link for a program with
POST /v1/links. Setsiteto the site that shows the link. - Put the short URL in your page. When the browser sends no referrer, add
?page=<address of the page>to the link. - Wait for the sync. The next sync joins the new sales to their clicks.
- Read the commission of each page with
GET /v1/statsandgroup_by=page.
Learn more
Features that this guide uses
Related guides
Start your free trial
Free for 14 days. No card needed. Cancel any time.