Tracking affiliate links

Home » Support » Docs » Tracking affiliate links

To track affiliate links you need to fill in the settings form with:

  1. a unique part of the clicked link’s URL (see below).
  2. a name of the clicked element (see below) or, for some tracking tools, event ID

Clicks will be tracked on all matched elements on the page. This also works for the ones added dynamically (without refreshing the page).

image 1
Affiliate tracking settings in Google Analytics 4 settings page

To track affiliate links write in the provided settings fields the unique part of the URL, e.g. /go/ or ?ref=johnb and you are done. All the links that contain these phrases will be tracked.

Choosing a URL part

Full picture lets you track clicks in affiliate links that are distinguished by a unique URL part. For example:

  1. with a partner ID (https://yoursite.com/?ref=partnerid)
  2. with a keyword (https://yoursite.com/go/product-name)
  3. or with any other part that is unique to affiliate links (https://yoursite.com/aff/promo-name)

Simply enter the unique URL part in the settings field to track all links that contain it.

Naming clicked elements

Some tracking tools (e.g. Google Analytics) let you name clicked links to show these names in the reports.

There are 3 ways you can name links:

  1. With its URL – simply leave the “name” field empty to send to the tracking tool the URL of the clicked link
  2. With a simple text, e.g. Sidebar ad
  3. With a content placeholder [name]

If you use [name] as the name of the clicked element, this text will be replaced with first 20 letters of the text of the clicked element. It is very handy when you want to track different links with the same URL part but different texts, e.g. “Product A”, “Product B”, “Product C”.

click tracking with element

You can also mix [name] it with the static text like in the example above.

Why clicks on some elements are not tracked and what to do about it

The main reasons why some clicks are not tracked are:

1. The tracking script has not loaded

This happens when site visitors use ad blockers or when script errors occur on page.

Unfortunately, you cannot do anything about the first one.

You can track script errors with Google Analytics integration. Full Picture has a function to track JS errors.

2. The clickable element has a JavaScript function attached to it, which contains “stopPropagation()” function.

Please ask your developer to check if the clicked element has this function attached to it and remove it. Unfortunately, finding it may be very problematic, especially if your site uses a lot of 3rd party extensions which add their own scripts.

3. The URL part that you provided in the Full Picture’s settings field is incorrect.

Please see section “Choosing a URL part” above.

4. The click event ID is incorrect (for tools that require event registration).

Please make sure that you registered the event properly.

5. The tracking script didn’t have enough time to send an event before the redirect.

This can happen due to multiple reasons. To fix it please enable “Delay page redirect after clicking links” option in the “General Settings” page > “Default tracking settings” section